Yes, the rabbis (and here I am thinking principally of the sources named in the Talmud) did take a dim view specifically of male-male sexual acts leading to orgasm, but they seem to have related this to the story of Onan and their more general opposition to non-procreative sexual acts.