Some years ago, we had a homosexual friend/acquaintance who was dying of AIDS. In the months before his death, he "got religion" and destroyed all his homo porn because he saw it as a real threat to his salvation. I pray that James made it because you could see the internal struggle and the realization of what his lifestyle had cost him. I really have no idea of whether one can be born homosexual or be turned that way; much less if one can become "straight", but I have known several who have sworn off the lifestyle and I admire them because even run-of-the-mill vices can be hard to overcome. All of them got involved in a church and used the strength of God's Word and those who love the Lord as a foundation for their changes in lifestyle.
Prayers for them... they did more than many of us in trying to overcome their sin.