There is nothing illegal about poaching talent from your competitors, either directly or through a recruiter. I've had clients (recruiter here) tell me what companies have the talent they are seeking. I wouldn't say it is even unethical to try and get talent from other companies directly - it's just business, the same way you want to attract your competitor's customers.