That is messed up. It's not something that is Islamic that's for sure. I mean, doing it to your children or something is fine, but outside that, no.
Al-Tirmidhi narrated (2728) that Anas ibn Maalik (may Allaah be pleased with him) said: A man said: O Messenger of Allaah, when one of us meets his brother or his friend, should he bow to him? He said: No. He said: Should he embrace him and kiss him? He said: No. He said: Should he take his hand and shake hands with him? He said: Yes. This hadeeth was classed as hasan by al-Albaani in Saheeh Sunan al-Tirmidhi.
Al-Nawawi (may Allaah have mercy on him) said:
As for embracing and kissing the face of someone other than a person who has returned from travelling, etc – apart from a child – this is makrooh, as was clearly stated by al-Baghawi and others… As for a handsome beardless youth, it is haraam to kiss him under any circumstances, whether he is returning from a journey or not. It seems that embracing him is akin to kissing him, whether the one who is kissing or the one who is kissed are righteous or otherwise. End quote from al-Majmoo’, 4/477
Also it is stated;
Embracing sons and daughters when they are small, hugging them, smelling them and kissing them are all part of the compassions and warmth that people should give in abundance to their children and not deprive them of it, because it is compassion that Allah has created in the hearts of His slaves, and Allah only shows mercy to those of His slaves who are merciful.
We advise fathers and mothers not to deprive them of this parental gesture, because it is a basic psychological need, especially in small children, as is proven in all psychological and educational studies, both contemporary and classical.
It is proven in Saheeh al-Bukhaari (5997) that Abu Hurayrah (may Allah be pleased with him) said: The Messenger of Allah (blessings and peace of Allah be upon him) kissed al-Hasan ibn ‘Ali, when al-Aqra‘ ibn Haabis al-Tameemi was sitting with him. al-Aqra‘ said: I have ten children and I have never kissed one of them. The Messenger of Allah (blessings and peace of Allah be upon him) looked at him, then he said: “The one who does not show mercy will not be shown mercy.”
In Saheeh al-Bukhaari (3704) it also says: al-Bara’ entered with Abu Bakr upon his family -- after he reached Madinah as a migrant. ‘Aa’ishah was lying down as she was suffering a fever. I [al-Bara’] saw her father kiss her cheek and say: How are you, O my daughter?