Yes, but considering there's no practical way to throttle steam production, it'd need frequent watering. Plus in an ordinary steam engine a dry boiler is bad, in this thing it'd be catastrophic.
If you want an atomic train, put the nuclear power plant on a big concrete base somewhere stable and just run wires to the tracks, honestly.