Yes, but that's beside the point in that the psychology is still distinct. IOW, one set of circumstances resulted in their homosexuality while a separate set of circumstances resulted in their pedophilia. Much the same applies to pedophile men that like girls, the super-majority of which are heterosexual.
"one set of circumstances resulted in their homosexuality while a separate set of circumstances resulted in their pedophilia"
Both are coming out of the same brain, aren't they, so it's really a moot point which area of the brain the "impulses" are coming from. The end result is the same: homosexuality and pedophilia, two cousins housed within the same sick mind.