Not really. You can't use the electric side of a locomotive drive train anywhere else than in a locomotive, and for fully electric locomotives you can't even use the transformers in any non-railway setting simply because the frequencies used are generally incompatible with usage on the normal power grid. Old electric locos sometimes are used to provide auxiliary power for parked cars [1], though that has fallen out of fashion here.
What is commoditized is the engine side of a diesel locomotive, that's your run-off-the-mill CAT, MTU or whatever industrial diesel engine. As long as it fits into the locomotive body and accepts a hydraulic or electric generator at the output, it can be used. IIRC there even were some experiments with gas turbines on French high-speed locomotives, but these had atrocious fuel economy.
> Is it a single motor or one per axis?
That entirely depends on the engine model, and can be inferred from the wheel arrangement code [2].
[1]: https://de.wikipedia.org/wiki/Trafostation_(Elektrolok)