Perhaps. He did cast another completely incongruous couple in The Shining (Jack Nicholson, Shelley Duvall) to critique the very idea of nuclear family.
To this day, when anyone asks me what I consider to be the worst use of celluloid and bagels, I don't hesitate.
"Popeye."
That wasn't spinach Robin Williams and Duvall and the entire cast and crew were munching. It was Qualudes.