While it is not explicitly illegal, you are most definitely violating your employment agreement so your employer will fire you if they find out and might sue you as well.
The problem is really that multiple parties may be able to claim the rights to all of your output while you were on their payroll, which is obviously messy from a legal standpoint.
The problem is really that multiple parties may be able to claim the rights to all of your output while you were on their payroll, which is obviously messy from a legal standpoint.