This is a topic I rarely see discussed, and I know painkillers can be prevalent in bodybuilding/powerlifting circles. It is important to understand the negative effect opiate (ab)use can have on testosterone production. I personally know several people who are on HRT strictly as a consequence of long-term opiate use. When I sought out treatment for low test my doc actually asked if I had a history with gear or opiates. I'm surprised this isn't more widely known, given the ongoing opiate crisis.
Further reading:
https://www.mdmag.com/medical-news/testosterone-deficiency-a-side-effect-of-opioids
Further reading:
https://www.mdmag.com/medical-news/testosterone-deficiency-a-side-effect-of-opioids