The problem is not homosexuals. If a gay man is chaste, a servant of the Holy Spirit, doesn’t allow his sexuality to define him and wants to be a priest, then by all means he should.
It is some people whose moral character that is not fit for the priesthood that act out but keep it mum and put on a “Christ-like” façade when needed that are the problem.