It's wrong for Aladdin to copy Lion King but it's okay for Lion King to have the same plot as Hamlet?
Are people trying to still make that a thing? LOL I guess it sounds smart if you've never read or seen Hamlet, but based on their similarities, then maybe The Lion King has the "same plot" as The Talisman by Stephen King and Peter Straub which has the "same plot" as The Empire Strikes Back which has the "same plot" as Hamlet. In any event, even if it was a deliberate adaptation of a Shakespearean play, then yes, like countless others in book, play, film and musical theatre forms, it would be okay.
"What can you expect from a bunch of seitan worshippers?" - Reginald Tresilian