... But that is exactly what the dereilliur gears do ... they transform power from low torque high speed to high torque low speeds and vice versaBut you cannot change the torque.
I had an Alfa GTV it had the gearbox built into the back axle. No real downside but why not connect the gearbox to the engine,much simpler. The GTV was typical Italian,'fast but don't last'
5 years from now we may see a transformation in e-bikes....it seems to me that we are building these bikes by taking a selection of current bike bits and adding a battery and motor.....at some point some big manufacturer will integrate all new parts integrated into a purpose designed frame,the whole designed as a unit without recourse to current available parts.
KudosDave
However I fully accept your other point that there will be major changes in bike topography. .. a simple example would be multiple windings in a hub motor , and using electric switching of these from multi parallel windings to series connections at other speeds to optimise performance, it's an obvious departure.
Incorporation of the central drive motor into the down stem without any unsightly bulk would reduce weight . Smaller wheels for city bikes . Etc.