There is an episode of American Dad in which the son, Steve, uses lucid dreaming to live out his fantasies. Then his sister and the fish trick him into thinking he is dreaming while actually awake and he does crazy things. Here is a clip: Steve thinks he's dreaming

There is an episode of Fraggle Rock in which all the main character Fraggles have a shared dream to help Boober with a nightmare he's been having.