Yes. There are places where either by statute or by the employment contract, anything the employee creates belongs to the employer. The underlying concept is that the employer created an environment where the employee was able to learn and be inspired.
I know personally of a situation where a university exercised this right, although I don't know if they did it through statutes, common law, or an explicit agreement.