It doesn't sound especially weird to me, I'm sure a lot of people ask pharmacists such things to avoid seeing a doctor. I've done it myself. Pharmacist advice is even a thing I've seen advertised. It's possible these things are just different where I am.
In any case, I don't see that asking a pharmacist about a medical-related topic would be interpreted as a friend request.
In any case, I don't see that asking a pharmacist about a medical-related topic would be interpreted as a friend request.