Here’s the definitive answer: You can be both gay and a Christian, BUT you cannot be BOTH a repentant AND an unrepentant Christian simultaneously, and which you are depends on whether you are or are not actively engaged in gay sexual activity.
I would say Matthew 5:28 also applies to same-sex attraction even not acted upon. What’s in one’s heart does count. Not to mention, 1 Corinthians 6:11 puts a “gay” status in the past after repentance.