I think it would be legal but unethical -- unless you also then gave the employee substantial compensation for their time and opportunity cost.