No. Anyone can change their religion and they are not bound by their parents' religion because it is not in DNA. Although similarity to hindus come from same civilization & culture. Similarity to muslims come from sufism. All religions or mythologies have similar elements. Page 1136- ਭੈਰਉ ਮਹਲਾ ੫ ॥ Bhairao, Fifth Mehl ਏਕੁ ਗੁਸਾਈ ਅਲਹੁ ਮੇਰਾ ॥ ਹਿੰਦੂ ਤੁਰਕ ਦੁਹਾਂ ਨੇਬੇਰਾ ॥੧॥ ਰਹਾਉ ॥ The One Lord, the Lord of the World, is my God Allah. He adminsters justice to both Hindus and Muslims. ||1||Pause|| ਹਜ ਕਾਬੈ ਜਾਉ ਨ ਤੀਰਥ ਪੂਜਾ ॥ ਏਕੋ ਸੇਵੀ ਅਵਰੁ ਨ ਦੂਜਾ ॥੨॥ I do not make pilgrimages to Mecca, nor do I worship at Hindu sacred shrines. I serve the One Lord, and not any other. ||2|| ਪੂਜਾ ਕਰਉ ਨ ਨਿਵਾਜ ਗੁਜਾਰਉ ॥ ਏਕ ਨਿਰੰਕਾਰ ਲੇ ਰਿਦੈ ਨਮਸਕਾਰਉ ॥੩॥ I do not perform Hindu worship services, nor do I offer the Muslim prayers. I have taken the One Formless Lord into my heart; I humbly worship Him there. ||3|| ਨਾ ਹਮ ਹਿੰਦੂ ਨ ਮੁਸਲਮਾਨ ॥ ਅਲਹ ਰਾਮ ਕੇ ਪਿੰਡੁ ਪਰਾਨ ॥੪॥ I am not a Hindu, nor i am a Muslim. My body and breath of life belong to Allah Raam - the God of both. ||4|| ਕਹੁ ਕਬੀਰ ਇਹੁ ਕੀਆ ਵਖਾਨਾ ॥ ਗੁਰ ਪੀਰ ਮਿਲਿ ਖੁਦਿ ਖਸਮੁ ਪਛਾਨਾ ॥੫॥੩॥ Says Kabeer, this is what I say: Meeting with the Guru, my Spiritual Teacher, I realize God, my Lord and Master. ||5||3||