There are alternatives.. Clever Cycle's .. Todd's Stoke Monkey, relocated the typical hub motor outside the wheel
and its driving a left chainring on a crossover crank.. the rest of the gears are available to use.
But it needs the extra space of a Big/Dummy, or Xtracycle added longtail conversion.