Yup! They were both done by Rankin-Bass. They also did the Return of the King cartoon, which I've never seen. But Bakeshi did the Lord of the Rings cartoon, which I saw as a child and thought was horrendously boring. Oddly enough, Bakeshi's The Wizards was probably the first "adult" cartoon I saw.
I LOOOOOOVE Flying Omelette!!
Crawl and 1000