You can do that legally as long as you do not confuse people that what you create might be an actual Disney product, or that you try to represent it as actually created by Disney.

Both of those are protected by law. Learning from a Disney movie and creating your own thing is not, and should not be, disallowed.

What law in what country?

[deleted]