Can smoking weed substitute for prescription pain meds after minor surgery?

Perhaps. Thc is a known pain reliever. However why would you want to use this. Onset and offset of clinical effect is hard to predict, ability to think clearly is impaired. It is less effective than approved pain meds. And, if you are already a steady marijuana user, you will have less benefit.