Not exactly. My doctor wanted to start me on a medicine that would make me more likely to develop shingles so he asked me to get the vaccine series before he'd prescribe the medicine. I guess there's no such thing as a prescription for a vaccine, so I just went to my local pharmacy. I made the mistake of writing on the form that I had no health issues. The pharmacist came out and said because I wasn't 50 and had no health issues they weren't allowed to administer the vaccine. Even after I explained my condition and the doctor's request they still refused. They wouldn't even let me fill out a new form. I had to go to a different pharmacy which conveniently didn't ask about my current health status.
It's stupid too, because the question I answered "wrong" wasn't clear. It basically sounded like they were asking me if I currently had a cold or covid.