You would have a simple electric bicycle that has a throttle and possibly pedal assist mode that doesn't go over 20 mph a motorcycle? I've been in this electric industry for 16 years and a number of Moped style scooters were available; however, they barely reached 28mph, maybe 30mph but were classified as motorcycles. They didn't sell because it is an impractical setup. A basic street is marked at 30mph, with more heavily traveled and wider roads marked at 40-45mph. And these are throttle only scooters, not small slim ebikes. The issue was that riders did not and were not safe in regular street traffic since they lacked the ability to match the flow and speed of other drivers and had no extra speed available if they needed to do an emergency maneuver.
Why would you want to force a less protected ebike into regular car and truck traffic? Does not make sense. Our shop used to take small groups of ebike riders on tours that included local Austin trails where we moved in a safe manner with other cyclists & pedestrians. It was the mountain bikers on non-electric bikes that were rude and excessively speedy; going well over 20mph. So who's causing the problem and damaging trails?