The short answer is that yes it is legal. But you have to be 18 in order to enter into contracts in Texas so you may have difficulty applying for a lease, utility contract, etc. I'd check first with any entities you intend to contract with and see what they require... or just wait two months.