I can get some prescriptions by seeing my pastor "online" and that's a video call using their portal. I think that any opiods need an office visit though but I'm not sure? I try to avoid those and even after my last surgery I wanted to fight getting a prescription, but they say it's hospital policy to make their patients comfortable, if the need arises at home when pain is bad. So I agreed to I think 4 or 5 pills and never used them.
Your pastor writes prescriptions?
Seriously, I'd agree that a first prescription for opioids should require a visit in person. If they are for post-surgery pain relief then the fact the person has had surgery should be enough - presumably they were there in person for the surgery so offering something for the pain afterwards doesn't seem unreasonable.
It's hard to know how to strike a balance between offering something for the pain even if it may not be required, with controlling the availability of addictive painkillers. If you didn't need the pain meds there's no way anyone can know whether you dropped them off at one of the places to surrender unwanted medications, or sold them to someone on a street corner.
There's also a balance between handing out too many pills at once and leaving someone endlessly running back to the pharmacy, with all the associated issues if they want to go away on vacation at a time that doesn't neatly align with prescription refills.