Yes, a boy can kiss a girl even if they're not together IF AND ONLY IF each other permits one another. Even if one or both of them has a relationship with another boy/girl, I don't think it's illegal.
I'm talking about casual kisses. I don't know if you will allow more than that but for me, of course, unless I'm extreme loyal with my bf why should I?