If you wanna go further back, magic the gathering booster packs are just lootboxes. Old arcade games were pay to win via extra lives/tries for more quarters
I remember laughing at the lawsuits claiming that Pokemon cards were promoting gambling to children. In retrospect they were right and I wish they'd won.