Ethics dictates that if the side project you are working on may be in competition with your company's products, then it would be a lot wiser to pack up and leave and pursue it. Otherwise, I don't see anything wrong with having side projects, especially if it is something you are passionate about and would add better to your bottom line.