I don't think so - you're initially attracted to a trap because you think they're a girl or have lady like features. When you find out they're actually a guy then you back off.
The power of imagination is very underrated nowadays, you can think of the other as whatever sex you want,as long as your mind allows it.
So no, traps are not gay if you dont see them as your same sex.