Are you sure about that? I had to get a therapeutic use exemption when I was training for the Olympics due to my pain management regimen.
You can go look it up on WADA's website right now. They may have changed their stance on opioids out of competition after when you were competing, I don't really follow it closely.
Where can you get this therapeutic use? Asking for a friend /jk