Some ways may be reasonable, e.g. running a commercial side project which is a direct competitor of your employer's product. In this case, the moral hazard of using company's internal knowledge which is under an NDA is very high indeed.
But the list of such disallowed activities should be short and reasonable.