If you work in an incestuous industry like tech, you will be blacklisted in many circles for going down this path.
Which is also illegal, but companies openly get away with it every day.
The worst that ever happens is a slap on the wrist when all the major companies have non recruitment ("no poaching") agreements with each other, suppress wages, get caught, and have to pay a token fine.
Silicon Valley is a small place.
[1] https://www.nytimes.com/2013/06/25/business/supreme-court-ra...
One revelation of the Damore affair was that Google managers a) participate in blacklisting and b) are utterly brazen about it