That is separte issue from gambling and loot boxes. You can bundle them that way but also you can bundle in game money.
Like it or not but lootboxes are carefully crafted systems that are designed to create and prey upon unhealthy habits and our own psyche. Thats why for example they are shiny, the opening mechanic is like mini holiday with lights, bombastic sound and awesome animations, they WANT the opening of them be exciting, dont matter what is inside.
Btw any twitch/youtuber who made those "I OPEN 2000000 LOOTBOXES HERE IS HOW IT WENT" should be forever banned imo.