Really it's the opposite. It's called a pharmacy, but in practice it is a convenience store first, and a pharmacy second. Often times the pharmacy is closed, has restricted hours, is understaffed, etc.
In my corner of the USA the only 24 hour pharmacy is in the children's hospital, about 15 miles away from my house.
I have three hospitals with ERs within 5 miles but no pharmacy.
They were much more common before Covid, when places like Walmart were 24 hours.
But I also wonder if it's just the very largest cities that have easy 24 hour pharmacy access.
I live near a city with population of about 50k. It has a 24 hour Walgreens.