I would have thought impotence would be more of a direct result of opiates, seeing as they weaken the urine stream, not a result of opiate withdrawal. But who knows? Maybe it takes a number of weeks for things to begin operating normally after cessation of use.
As far as I'm aware, besides overcoming withdrawal, there shouldn't be any major side effects to opiate use.