That's faulty logic... homosexuals can find appeal in Religion as well. Look at all the Pray the Gay Away centers. Some people aren't in a situation where they can or want to come to terms with their sexuality, so Religion can offer them an escape from that.
Then again, Religion is predatory, so just about any crisis of identity is weak to it.