I don't think Texas wants to secede, polls in 2016 put it about 2:1 against, but some people in Texas have wanted to secede since the Civil War. Their's nothing illegal about their movements, and them trying to expand their cause.
Presumably if a majority* of people in Texas (or Alaska, or Nebraska, or New York City) wanted to be independent from the US then they would be allowed - certainly there would be a moral right to do so.
* Definition of majority, the location of borders, etc is a different discussion, but the fundamental right to people in New York City, Barcelona, Crimea, Portugal, etc, to determine their own affairs isn't up for discussion as far as I'm concerned.