Kind of. I’m in Germany (but from the US), and while it’s leagues and leagues better than the US, I recently had a similar issue. I was prescribed a daily generic medication that comes in increments of 100, which had some supply issues. The name brand version comes in increments of 30, so I had to get my prescription rewritten for 90 pills instead of 100, because they couldn’t just dispense less medication than I was prescribed.
I ended up going two days without my medication, but it was still better than in a non universal healthcare system. I used the same medication in the US, and regularly had to skip a day or two around refills (once it took over a month to actually get my refill), plus I was only able to fill one month at a time and had to pay way more. In the US, I had to pay for: a monthly doctor’s visit, a drug test to make sure I was taking my medication, and a high prescription cost ($50-$330/month, depending on whether I’d reached my deductible and whether it was a generic or not). In Germany, I pay 8.50€/month for the brand name or 10€/3 months for the generic, no cost for doctor’s visits and no required drug test.