Yes, and people perceive homosexuality as degeneracy too. It applies to both. Homosexuality is also not about sex. You can never have sex your entire life and be gay.
It’s about who you love, not just who you have sex with. Two women who are asexual (don’t experience much in the way of sexual pleasure) who have a long term committed romantic relationship may not technically be “homosexual”, but they are definitely seen and treated as such. And I think the term “gay” very comfortably applies.