I was curious about it once when I was considering “hustles”. One of the biggest issues may be finding a high-traffic location where you are allowed to operate a vending machine. But if a place could use one and will let you operate for cheap/free, you could give it a shot. One learns a lot from trying. Odds are the work & issues may make it tougher than it seems on the surface (may not be as passive as you think).
Not my chart (copied from reddit as I found it was a good overview) - feel free to take a crack at some new charts if you’re up to it! Agreed, FHSA should be considered.