Historically yes, an uprising of civilians has a great chance at asymmetrical warfare on their own turf.
You can’t destroy your own infrastructure like you can someone else’s.
Will they win? Almost certainly not.
Can they force some concessions? Probably
If they secdee it is not “your own infrastructure” for the main country anymore.
They’d pull punches but lets not kid ourselves, Texas is not going to last very long against checks notes the entire United States military
They wouldn’t stand a chance. They’re power grid is so brittle. The US military would destroy it probably within minutes of an actual war being started. The people who can’t stand the heat or the cold (depending on the time of year) would turn on them so quickly.
Just like the south in the civil war, they don’t have the infrastructure for the logistics needed to fight a war.