I have a big piece going up on this tomorrow. Fwiw, loot boxes, which these technically are, considered a game. It's "different" from regulated gambling. Since that's the case, it doesn't break any rule, according to YouTube.
Still, the FTC is investigating situations like this. https://t.co/HegGT2iRiJ