In 46 of 50 states, including Texas, betting on sports (including online betting) is illegal under federal law. This law applies to those who take and process the bets, not the individual bettor, so if  you are betting, not running the book, you should be fine. Note that a a bet is the wagering of anything of value for a chance to receive something of value--it doesn't have to be money.