I don't think anyone should have to suffer in pain after surgery. So, it would seem reasonable to talk to your dr about this, and hopefully you would only need pain relief for a short time and you could move onto otc pain relief.
I think it's good that you're aware of the potential problem and seeking support.