Illegal, I cannot speak to. But if it is for a large company, it is probably against company policy to subcontract company work without consent, whether to yourself or someone else. If you had the power to contract, this would lend to the appearance of self dealing and would be a violation of most codes of conduct, if not a violation of a state or federal deceptive trade practices act. I can also see this creating vicarious liability issues I would not be amused by if one of my folks pulled these shenanigans. Out the door they would go, good intentions or not.