Do you remember something called the "Revolutionary War"? It was an event in history that happened when the people who wrote the 2nd amendment fought the British government for control of the country.
The point I'm trying to make is that there is no way US Law would explicitly allow a means to destroy the USA (via the second amendment or otherwise).