I’m not sure developing nuclear weapons by any nation was a good thing. We would be better off without nuclear weapons and the MAD associated.
Not trivial to make without the resources of a major industrial nation, but the actual simplest mechanism is essentially just sufficiently purifying two lumps of a metal of sufficient size and quickly smashing them together.
You don’t get modern technology, say the transistor, without nuclear inevitability.