This used to be a thing back in the day, also doctors used to do home visits back up to the 50s-70s and carried basic drugs on them as well. One of the old timers in my town used to be a doctor that did home visits in Philly during this time frame and stopped doing it because he got beaten badly and robbed by a bunch of black people in who wanted his basic drugs. The same was true for what you’re talking about with locally stored drugs at the doctors office. They kept dealing with break-ins so it shifted to a “secure” location such as the pharmacies we have today.
In the most recent wave of looting here in Philly last month the first thing they went for was the pharmacies so they could sell the Percocets, Promethazine and other crap on the corners. The system you want only works in a high-trust society, everything in America has to be asshole-proofed now and its really irritating for honest people.