Is that how West Virginia came about?
For the most part. Virginia seceded form the USA, then West Virginia seceded form Virginia which didn't really recognize her statehood status. Neither did the CSA proper. And since the top hatted bloody goon in the White House would NEVER recognize the CSA, West Virginia independence for Virginia was in defiance of the US Constitution. To make matters worse West Virginia was unconstitutionally admitted to the union. Very confusing.