Short answer: it's unsettled. Like the rest of the US, Texas has no law that squarely legalizes or bans online mystery boxes — but state gambling rules and each platform's own terms both matter. Here's the Texas-specific picture.
Texas defines illegal gambling broadly (consideration, chance, prize), and mystery boxes arguably meet all three prongs. There is no mystery-box-specific law, so the position is unsettled; treat Texas access as legally uncertain.
How US gambling law applies
Texas courts weigh the standard three-part test — consideration, chance, and prize. Mystery boxes arguably satisfy all three, which is the basis of the active lawsuits against Packdraw nationally. The counter-argument is that you always receive an item of value. Until the courts rule, Texas's position stays uncertain. See our national US legality guide and are mystery boxes gambling? for the full reasoning.