Kind of like saying that if solar panels work on the ISS then they work on land too.
It's surface level true while missing the broader issue.
But sure, get rid of all subsidies on everything and let the market sort it out. We can agree on that.
And if you have things like a public health care system then, it matters a whole lot if coal and gas plants blow smoke into the air or not.
Historical data from the US shows this well. If coal plants would have had to pay even a fraction of the health cost the caused, nuclear would have been universally adopted 1990. And that is before we even talk about coal sluge and other issues. Its before we talk about all the stuff the US did in the middle east to keep the oil flowing. Nuclear in the US even paid a fee for nuclear waste, while coal paid no fee for its waste.
If you look at societies total energy cost over the last 50 years, France looks incredibly good. They had very low energy prices for many decades now and had not no health cost from bad air from electricity production. Nuclear plants are also stable high quality healthy employment for many.
If nuclear works for the world's subs, it works on land too. It will probably be a mix of energy sources anyway, each with its own strengths and weaknesses and it’s own place in ecosystem.