I've seen these and they are probably legal.

http://www.webbikeworld.com/r2/riderlight/

In Alabama you have to have red lights in the rear and yellow lights in the front. The don't care what you have on the sides if they can only be viewed from the side.