If Texas tried it, even by popular vote, they’d get wiped slick by the federal government.
__________________________________________________________________________________________________
How so?
Because the federal government (maybe aided by Mexico) would bring massive firepower to bear against Texas. Same as it did last time. And Texas alone would not be able to defend itself successfully.