Is this ok to say to a friend that you've slept with?

I've been having sex with this guy on and off since August his birthday is next month is this ok to say to him

"Happy Birthday, I hope you have a good day. I miss you"

Is this ok to say to a friend that you've slept with?
Post Opinion