The rules for writing in a candidate

Most states, including Texas, allow write-in votes.