You are, of course referring to "The Lathe of Heaven" by Ursula K. Le Guin.
I'm unaware of an anthologised TV version of the book but there have been two made-for-TV film versions; The Lathe of Heaven (1980) and the similarly titled Lathe of Heaven (2002).
"In Portland, Oregon in the near future, George Orr is charged with
misuse of multiple prescription medications, which he was taking to
keep himself from dreaming; he volunteers for psychiatric care to
avoid prosecution, and is assigned to the care of licensed
"oneirologist" William Haber. Orr's explanation of his drug abuse is
incredible: he has known since age 17 his dreams change reality, and
tries to prevent himself from dreaming because he fears their