I'm not a doctor or pharmacist, so I can't give you medical advice, but if I were you I would contact your doctor's office and ask.
Sometimes pharmacists can recommend an exchange, but it's best to first check with your doctor. Typically it's just a matter of getting a generic or different brand, but they will know best what the options are. It can be a headache though if one option is covered and one is not. You will have to check with your insurance company to find out if it is covered. Doctors don't know the details of your plan and could end up prescribing something not covered. Pharmacists can often help with finding drugs that are interchangeable.
First: you've done good, raising a kid that asks for your permission first.
Second: realize that this comes from peer pressure, them wanting a space away from parental supervision. If you truly want to make your kids savvy about the Internet, you need to assume they will eventually encounter seedy places, run into assholes, and be exposed to things like bullying.
Have a conversation: you will encounter these things. Your friends may be into them. But they can have bad effects and here is how you avoid it and how to deal if it happens to you. Talk about keeping private information private.
Be open and non-judgemental. You want them to feel safe coming to you for advice.
Be truthful and stay credible. Keep up with what's out there, but don't just buy into the latest Tiktok scare.
Talk to your kids about stuff they found that was cool or scary.
Embarrass them by using memes incorrectly.
Setting up a mastodon instance may be cool at first, but their friends are going to think it's lame with the supervision. You could still do it for a number of other reasons, but it won't prepare them for the ugly Internet.
Source: me, a parent.