It would have, in fact, been immoral to NOT nuke Imperial Japan. All the other options were far worse:
- Allied land invasion, with Soviet support. Millions of Allied soldiers and Japanese soldiers and civilians die, with many more injured. The Soviets (who were pretty evil themselves) probably would have tried to use the opportunity to grab as much land as possible.
- Allied land invasion, without Soviet support. Same results as above, only instead of taking chunks of Japan, the Soviets would have tried doing it in Manchuria, Mongolia, and Korea, and with a much lighter death toll for the Soviets.
- Starve them out. Blockade all Japanese ports, bomb food stockpiles and production. Would have resulted in millions of Japanese dead, serious national health issues. and an utterly devastated nation.