Though I wouldn’t mind San Fran and Lost Angeles to leave we’ve already had this conversation from 1861-1865.
The legality of secession was not seriously debated. What happened was the side with the most people and guns subjugated the other people who wanted out.