All perfect praise be to Allaah, The Lord of the Worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad, sallallaahu ‘alayhi wa sallam, is His slave and Messenger.
Islamically, there is nothing wrong with this act because the presumption is that all things are permissible unless proven otherwise. However, a woman should be careful in such cases, so she should avoid such an act if she fears that it would be misunderstood, for example if some people would think bad of her, or if it would cause her husband to be jealous over her or it would cause problems between her and him.
In any case, it should be noted that some jealousy is praiseworthy and some is dispraised as we have explained in Fatwa 237010.
Allaah Knows best.