The same thing happens with in-app purchases.
A friend of mine worked at Disney, and it is insane how much data they capture on their players/spenders and how they use it for the sole purpose of triggering a popup at the right time, at the right price, that would maximize spending/gambling on loot boxes.