This basically worked perfectly with nuclear weapons. Everyone took their development extremely seriously, and we’ve managed to avoid a nuclear apocalypse. If anyone could get on their computer and buy a nuke from Amazon, we would all be dead within the week.
Of course, software production and testing is a hell of a lot harder to detect via satellite imaging and seismographs and can be performed using readily available materials, so it's a good deal harder to control.
we did at least relatively okay with nuclear weapons? I notice that there are a whole lot less of them now than there were, nobody has used any, and several countries under extreme pressure still haven't developed them (taiwan, japan, south korea, armenia, venezuela, syria)