This reminds me of an old SF book, Ecotopia, where the west coast of the USA secedes.
https://en.wikipedia.org/wiki/Ecotopia
Wow, hadn't thought about that book in years (the action takes place in 1999!).