Many ebikes sport a derailleur hanging out back to giver riders more flexibility than single-speeders. There are exceptions that combine gears with the motor, such as Pinion and Valeo. And now there's ...
Here is the list of available roadmaps with more being actively worked upon. Have a look at the get started page that might help you pick up a path.