Yes, Galen, There Is a Herman (a.k.a) My Friend Herman
Herman saves the life of a young boy, Galen Livingston Stewart, by bending the bars his head is stuck between. They immediately become close friends. The only problem is that Galen’s parents think Uncle Herman is a figment of the boy’s imagination. They take him to a psychiatrist, played by Harvey Korman with a broad German accent.