Yes chronic opiate use can lower sperm count, and that's because chronic opiate use causes low testosterone in lots of men. This can cause a range of symptoms including reduced sex drive, low sperm count, increased pain sensitivity, decreased bone density / muscle mass and more. Do a google scholar search, there are plenty of published articles describing this.