I still don't follow your point though.
In these accounts, someone slays the lindworm, but not through direct combat. Instead, he uses an invisibility cloak, takes the creature's treasure, and bathes in its blood. Later, he meets his end due to treachery. Clearly, this is a work of fantasy.
But what about the Roman historian's lament regarding the Battle of the Teutoburg Forest? Over 150 years later, and they’re still singing his tale... the song of Hermann the German. Unfortunately, that song hasn't survived. However, the Nibelungen texts remain, where Siegfried (Hermann) defeats a long worm with shiny armor (symbolizing the Roman legions), not through open battle but by ambush (the cloak of invisibility), seizing their treasure (the dragon’s hoard), and ritually killing their leaders (bathing in blood). And, just like Siegfried, he is ultimately undone by treachery.
The parallels are so striking that it seems highly unlikely to be a mere coincidence, especially since Roman writers noted that "his song" endured for an exceptionally long time. The Nibelungen texts IS THIS SONG!
I say the Nibelungen Tale is based on facts. And the same may be the case with Atlantis.
On the other hand we know people today make up fantasy stories all the time, so thinking that people in the past must have been just what, encoding their history in elaborate metaphor?
"It's useless to try to explain a thought to someone for whom a hint is not enough." — Nicolás Gómez Dávila
It is true and written all across ancient records of that time.
Scholars don't fully understand why they would do such a thing. Many theories have been presented over the years. A ritual of passage, a demonstration of loyalty as bargain in exchange for a favor from a divinity, or simply a group ritual believed to reinforce the will of those within a social group.
Truth is, we will never know. Despite our best efforts, several parts of the original text describing the ritual were lost, only copies of copies remain.