It is as bad as gambling if not worse, you don’t even know what you are buying.
To be fair, booster packs are designed primarily to be used to play in limited formats like draft or constructed. People buying boosters to try and pull expensive cards are doing themselves a disservice by not just buying or trading for the singles they want.