I don’t think so Peter. The bogie rotates around it’s pivot point, the hollow pivot point allows the drive shaft to do what it likes, in this case drive the wheels whilst the bogie can follow the track. Pinion drives the crown wheel on a cross shaft mid way between the axles and a small gear driving a larger gear on the axle, so you have double reduction. One might even mount the motor vertically above the bogie. Noel.
I think in principle you could have a differential arrangement above the bogie so the torque on the hollow pivot is equal and opposite to the torque on the drive shaft, giving no net torque on the bogie.
EDIT: An approach could be to mount the ‘can’ of the motor on the hollow pivot with flexible wires to the motor (ignoring any gearbox). The motor is then effectively part of the bogie, as if it was mounted within the bogie. Does that make sense?