Yep definitely true. I meant that the original author of Gilgamesh would have lived at a time when certain Sanskrit names may have been heard of in Mesopotamia.
Your link suggests the Indian story is based on the Sumerian or Akkadian. That would be news to me. It’s certainly possible, but in my personal opinion people often go astray with these methods - there’s little reason to believe many examples couldn’t have evolved independently based on similar real world occurrences or common human archetypes.