A few companies do it. A lot of companies have internal recruiting. I don't think it's necessarily bad form if the offer is tasteful and customized (eg I find it fun to talk to a CTO who has actually read my LinkedIn page and wants my specific skillset). But if you're just spamming people (like a lot of recruiters do), you can damage your reputation pretty quickly.