Yes, mixed with a little more of this
Fat Albert and Enchanted did it too.You know what's the most insane thing about the first Sonic movie? They actually played the "Beloved cartoon character gets sucked into the REAL WORLD" premise (that people have somehow gotten into their heads is a cliché despite only ever happening in The Smurfs and that Rocky and Bullwinkle movie no one even remembers) 100% straight and managed to pull it off.
Preexisting or not, it's the one that pretty much made the "animated characters come to the live-action real world" trope popular.I knew there were a few more in the trope. Though does Enchanted count since it really isn't a preexisting cartoon and created for the movie itself.