Almost certainly allegory
Plato wrote dialogues to argue ideas, not to record history. Atlantis works like a thought experiment: a perfect society corrupted by pride, staged to show where unchecked ambition leads. The point was the lesson, not the map.