This is the principle of interposition, wherein lesser magistrates prevent the enforcement of unjust laws on the part of higher authorities. This was the basis for the American colonies to secede from the British Empire. The provincial legislatures and local authorities resisted the demands of the crown, to the point of raising military forces to fight the royal authorities.
Yeah, I agree that it’s a option to try, but IMO it will certainly fail.
Events since have the Federal Gov holding the cards now on most matters. I doubt state governments who are largely dependent of fed money for this, that, and the other, will be openly hostile to their big brother.
Especially with these clowns we have now.