First of all, no, I don't even think flirting is ok. But what you described isn't flirting anyway, it's called planning an affair. So yeah, really really not ok. I can't imagine how you must be feeling.