You cannot have multiple legendary permanents with the same name on the battlefield at the same time. However, Princess Yue's name becomes Moon when she returns to the battlefield as a land. Notably, you can control a legendary creature named Princess Yue and a legendary land named Moon at the same time.

Artwork
Loading artwork…
Princess Yue
Avatar: The Last Airbender Eternal · #95 · EN
Nonfoil—Foil—
Card rules
When Princess Yue dies, if she was a nonland creature, return this card to the battlefield tapped under your control. She's a land named Moon. She gains "
: Add
." (She's still legendary.)
: Scry 2.
3/2
Uncommon · Illustrated by Masateru Ikeda
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Oathbreaker Legal
Timeless Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Future Not Legal
Modern Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Penny Not Legal
Pioneer Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
When Princess Yue returns to the battlefield as a land named Moon, she is no longer a creature. That's rough, buddy.