True, but that is obfuscation of the real issue. Priestly celibacy, whatever its pros and cons, was a decision made by the church at a certain time, and (the church admits), they could do away with it any time without breaking Divine law. There's no inherent theological barrier to married priests.
However, the doctrines of all-male church leadership, the hostility toward homosexuality, fornication and divorce, etc, are biblically based, God-ordained doctrines that no church has the authority to revoke, ever. It's false to connect married priests with these other issues. Especially when the Catholic church recognizes the validity of certain married priests (eg, converts from Anglicanism, some Eastern rite priests, etc).
The Church can remove the discipline of mandatory celibacy for priests in the Latin Rite, but there is absolutely no reason to do so. That discipline has served the Church well for centuries, and there is no reason it cannot serve it well for centuries to come.