. . . Yoda had to forfeit all mortal attachments, platonic included, to become a force ghost.
unless, of course, we are entertaining the idea that as a force ghost he is able to find love/be in a relationship, then sure, I can see him leaning towards men