The Messenger of Allah ﷺ used to kiss and embrace while he was fasting, but he was the one of you who had most control over his desire. (Using translation from Abū Dāʾūd 2382)
كَانَ رَسُولُ اللهِ ﷺ يُبَاشِرُ وَهُوَ صَائِمٌ لِأَنَّهُ كَانَ أَمْلَكَكُمْ لِإِرْبِهِ