Not legal.
The IRS has been clamping down on "independent contractors" with a single sources of income.
But it's not hard to see why employers wish to take this approach; "employees" are getting more and more expensive, and will become even more so next year when the tax laws change. Nobody wants to commit to more than they absolutely have to. It's sad that "employees" are now considered more liability than asset.