Deductions & credits

If the prescription is legally in someone else's name and that person ultimately gets the medication, then you don't have legal issues as a "drug dealer" or anything else, as long as you aren't adulterating the substance or re-selling it to the prescription holder at a higher price.  You are effectively gifting money equal to the cost of the prescription to this person.  Which is generous but not tax deductible.