They would still need to mount it like a gyro.
On rotating axis.
Think of an electric DC motor, you have the rotor and the stator around it. Make the rotor flat and wide, and make the stator all-enclosing, not even a driveshaft protrudes. Then suck all the air out of the stator.
Apply electricity to spin that sucker up. Then remember that a DC motor is a DC generator, just depends on whether you’re adding electricity to create torque in the rotor, or using the rotor’s existing torque to create electricity.