probably, but it might be tricky depending on your party. the main thing i think you would be concerned about is the evangelical vote, which is a fairly significant portion of the population, but more importantly, also a population that tends to have a much higher turnout rate than other demographic groups. if you're an LGBT republican candidate running against a democrat that the evangelicals really don't want in office, you might be able to win pretty easy in theory, barring other political nonsense that could affect your run such as being a terrible person (though that apparently doesn't matter as much as you'd think given this election)
er of course when i was thinking about "LGBT" i wasn't considering the "T", i highly doubt a trans president is likely in the near future, would be surprised if there were even a serious trans contender within my lifetime