Whether or not in can be done has no bearing on whether it's legal. In fact, constitutionally, it is quite legal, though, like our founding fathers, anyone who attempts it will be labeled a criminal. This article covers the history of secession in America:
As was chattel slavery, nice and...