I believe I know this one--and figured it out this morning although I was a bit too busy to answer.
This is Charlie McCarthy insulting W.C. Fields who is Humpty Dumpty in "Mother Goose Goes to Hollywood."
Thanks, saw it once as a kid--and that sequence kind of scared me. W.C. Fields as Humpty Dumpty was kind of terrifying.
"Look at me, I'm a kitty cat! I wear a bowl of peanuts for a hat. If I eat them all, I will get fat. Blah blah blah, I'm a kitty cat!"
Not really amazing--this is indeed Grim from The Grim Adventures of Billy and Mandy from one of the earlier episodes "Get Out of My Head." Grim shows Billy that he can possess people by climbing into Billy's cat, Milkshakes. This hilariously random song is the result of this.
Also, this is what got me into watching this show.
This wasn't meant to be a stumper. Here's the answer: It's the kids at Pebbles' birthday party, from the "Flintstones" episode of the same title. They became unruly, demanding ice cream.
Of course, this is the irascible Benny the Cab, recently released from the weasels' paddy wagon by detective Eddie Valiant at the urging of Roger Rabbit. Good on you, SB.