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)
كَانَ رَسُولُ اللهِ ﷺ يُقَبِّلُ وَهُوَ صَائِمٌ وَيُبَاشِرُ وَهُوَ صَائِمٌ وَلَكِنَّهُ كَانَ أَمْلَكَكُمْ لِإِرْبِهِ