I had a 4 stroke bike motor... loved it. Sold it when I ecomodded my commute down to 2 miles from 25 miles (yes, moving close to work was deliberate and the BEST DECISION EVER)
First read the DMV laws for your state and locality. I have a chainsaw based motor kit from the 1980s that is friction drive. It is legal in PA but not NYS The engine is a 34 cc 2 stroke design that was bought up by Poulan. It was rear mounted but front mounts engage better. Bicycle chain is 1/2" pitch so if the clutch works, use it. Gearing is the issue. An engine may turn 5000 to 7000 rpm but the wheel only 200-300 rpm at 20 - 30 mph. Do the math for your components. A jack shaft reduction system may be needed. A motorcycle throttle and a kill switch are needed. Make sure the tires and brakes are in top condition. An air filter for the exhaust will reduce the smoke and noise. The newer the engine the better the emissions reduction. A good frame mounted fairing and tail box will cut drag. If designed right the engine heat can be directed away in the summer and used for heat in the winter. A small fire extinguisher might come in handy, just in case.