I don’t think it can legally be done. Texas might be an exception, but I am not even certain they could do it.
California, like Texas, was actually a nation unto itself for about 24 hours before joining the nation.
I forget the exact details, but California didn’t just incorporate as a state solely.