Combined heat and power (CHP) is a thing, though mostly in colder climates where there's a need for heating in the winter.
In principle you could do the same with nuclear, but there's challenges in siting a reactor close enough to a big city, and also current reactors tend to be too big. SMR's might help, and there's active research in this area.