Question: are bikes with engines legal?
Answer: Yes, it is. California Vehicle Code section 406 defines a motorized bicycle as a two- or three-wheeled vehicle that has pedals for human propulsion and a motor (whether gas or electric). ... As long as all of these requirements are met, you can legally ride this vehicle on the roadways.