Yes and nuclear was especially funded like that by countries with nuclear weapons. Is not a coincidence that there's so much overlap between countries with much nuclear power and weapons.
Not that nuclear power plants create weaponisable isotopes, they don't, but having a healthy functioning nuclear industry really helps.
Conflating nuclear power and nuclear weapons is the mistake Germany made that led to their deeply stupid decision to shut down their perfectly safe nuclear reactors.
Personally I think we do need nuclear weapons but not nuclear power. We can't rely on the US anymore for a nuclear umbrella so Europe needs to have its own (and just the UK/French ones is not enough).
It's the only real deterrent against Russia. But nuclear power I'm not in favour of due to the long-term waste and potential safety impact.
It most definitely is not?
The decision was made in response to Fukushima, 15 years ago. Generational trauma from Chernobyl probably played a role as well. How does this relate to nuclear weapons at all?