I used to live above the Safeway near the Giants baseball stadium in San Francisco - it wasn’t 24 hours at the time (not sure if it is now) but you’re right, it was crazy convenient.
Far less food waste too, I’d rarely buy more than a bag’s worth of food at a time and would just go shop 3+ times per week.