Bit of a grey area, but I'd say it depends on the situation. If they're doing it in a jokey way and just messing about, then it's fine, but if there's some clear seduction happening between them, then that's when the line of cheating is being straddled.