Yes.The "Legend Rule" says that if there are two or more Legendary permanents with the same name on the battlefield (regardless of who controls them), all of the same-named ones are put in their owners' graveyards as a state-based action. There is no limit to the number of Legendary permanents that can be out as long as no two of them have the same name.(This is true even if they represent the same character from a flavour perspective, like Ertai, Wizard Adept and Ertai, the Corrupted or Niv-Mizzet, the Firemind and Niv-Mizzet, Dracogenuis. Unlike with Planeswalkers, the game has no mechanism for "knowing" that these represent the same individual. Note that the two Akromas above are from different timelines so it's debatable whether they're the same character - but either way, you can have both of them out, as Enigma says.)
704.5k If two or more legendary permanents with the same name are on the battlefield, all are put into their owners’ graveyards. This is called the “legend rule.” If only one of those permanents is legendary, this rule doesn’t apply.
If I steal a hundred dollar from a loot of one thousand, people might notice;
If I steal a hundred dollar from a loot of one million, I might get away with it;
If I wish to steal even more and still go unnoticed, I need to make the loot bigger.
Now you know why taxes always go up.
Looting: ''the plundering of public assets by corrupt or greedy authorities'' (Wikipedia)
It's a good point to be clear on. The difference does sometimes matter; it is possible, for example, to have a Legendary permanent with the same name as a basic land.