If a female teacher put up an add on Match.com looking for a dude, she wouldn't get fired for it, even though the purpose of doing so would be for her to eventually get cock.
There really isn't much a difference, except she'd make the dude pay for a few dinners before she offered him her ass.
To quote Boy George: "Society has decided that straight people make love and gay people fuck."