Just FYI, but allowing consumers to sell & trade their loot box purchases essentially opens the door to gambling further.
I don't have to speak in hypothetical here, as it's already happened. See the CSGO Lotto scandal.
IMO, Loot Boxes aren't gambling under the traditional model, but they are essentially gambling. They're under a similar loophole that allows things like Pachinko to not be considered gambling in Japan: "Oh, you're not playing for money! You're playing for balls, which just so happen to have value across the street!"
Yes, you're not getting money out of loot boxes (though you often can get game-specific currency) However, they use the same psychological hooks as gambling, they require the same monetary investment as gambling in most cases, & the execute the same way as traditional gambling. There's no skill involved, just pure luck of the RNG. They're probably going to require case-specific legislation to outlaw if the industry won't knock it off, but to me it's gambling.