To me the question would be, WHY? If this was 1950, ok , stinkmotor it is. But, it's not 1950 and we do have wonderful electric motors, batteries and controls.
All these elements go on a bike with no problem. It's not even hobby level, it's practically like you can go to IKEA, pick up a kit and convert your bike.
Why in the world would you want to put a filthy engine on anything today?