I know what you mean, but in Leonardo’s case it’s probably true.
Possibly
Although Da Vinci had church permission to do autopsies for the purpose of drawing the internal structures of the human body it was still very controversial and he had many enemies in the church and in government because of it.
If you come up with some proof that Da Vinci was gay instead of the usual homo-agenda BS I'd be interested in seeing it.