Tbh, you would def have to be passionate about it otherwise it would be a major headache.
Like, it's all about location, otherwise you wouldn't make any money and all the fancier snacks you stock will end up costing more but expiring quicker compared to the usual.
Most of the lucrative areas will already be occupied, so you may have to luck out or search low income areas. You're also solely responsible not just for restocking but also fixing any and all problems if the machine is broken, jammed, malfunctioning, etc. And time is money. If you buy it used, you'll likely be fixing it a lot. If you buy it new, then the overhead for one could triple or even quintriple. And you'll likely need more than 1.
I thought about the biz as a side hustle but ultimately it wasn't "passive" enough for me once i read up more about it. If i had a little brother in college i'd probably fund it for him tho.