Employers can take disciplinary action against the workforce for engaging in misconduct, such as working outside their contracted work hours without prior authorization or engaging in improper conduct while at work.  However, the short answer is no - employers cannot prevent employees from moonlighting as long as it doesn't conflict with any clause in the employee's contract. If you refuse and continue to moonlight, your employer may fire you for disobeying rules.