There's a reason ships use electric motors to power the props and diesel engines to recharge the batteries or power the motors in a pinch ... ;-)
Same with Railroad Diesel locomotives where the diesel merely supplies current to the traction motors. However, not too efficient when attempting to operate on flooded tracks.