No. A person has to be called by God to be a real pastor/bishop. If they have been called by God than also they would of been trained,cleaned up, delivered from major sins, freed by Christ to lead others into freedom. You can't not lead someone to freedom in Christ as a bishop if you are still in bondage to sin. If so than you are leading the people into bondage and spiritual blindness.
Now a gay person can come to God and receive Jesus as there Lord and seek God for freedom just like everyone else does when seeking God for freedom and deliverance. Than God will give us the strength and desire to turn from the sins that's in our lives separating us from Him so we can be even closer to Him.
1 Timothy 3-This is a true saying, if a man desire the office of a bishop, he desireth a good work.
A bishop then must be blameless, the husband of one wife, vigilant, sober, of good behaviour, given to hospitality, apt to teach;
Not given to wine, no striker, not greedy of filthy lucre; but patient, not a brawler, not covetous;
One that ruleth well his own house, having his children in subjection with all gravity;
(For if a man know not how to rule his own house, how shall he take care of the church of God?)
Not a novice, lest being lifted up with pride he fall into the condemnation of the devil.
Moreover he must have a good report of them which are without; lest he fall into reproach and the snare of the devil.
Likewise must the deacons be grave, not doubletongued, not given to much wine, not greedy of filthy lucre;
Holding the mystery of the faith in a pure conscience.
And let these also first be proved; then let them use the office of a deacon, being found blameless.
Even so must their wives be grave, not slanderers, sober, faithful in all things.
Let the deacons be the husbands of one wife, ruling their children and their own houses well.
For they that have used the office of a deacon well purchase to themselves a good degree, and great boldness in the faith which is in Christ Jesus.
These things write I unto thee, hoping to come unto thee shortly:
But if I tarry long, that thou mayest know how thou oughtest to behave thyself in the house of God, which is the church of the living God, the pillar and ground of the truth.
And without controversy great is the mystery of godliness: God was manifest in the flesh, justified in the Spirit, seen of angels, preached unto the Gentiles, believed on in the world, received up into glory.