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.
Sunan Abi Dawud Book 14, Hadith 70