It would be ok if the gear isnt needed for progress but since it is then you can't really say it like that even though we already have something like that in WoW and that is either boss dropping and item or not dropping anything except complementary AP which you can get in 1min of doing some random WQ. If buying lootboxes is considered as gambling then entire World of Warcraft is a gambling game.