The basic premise of Wes Craven’s New Nightmare—Freddy invading the real world and haunting the actors and crew responsible for the Nightmare on Elm Street films—was originally intended to be used for A Nightmare on Elm Street 3: Dream Warriors (1987), but the idea was rejected by the studio at the time.
In the movie’s ending credits, Freddy Krueger is credited as himself, even though Robert Englund reprises the role.
Wes Craven had nothing to do with the first sequel, A Nightmare on Elm Street 2: Freddy’s Revenge (1985), as he didn’t believe that Elm Street was capable of spawning a franchise. The success of the second film, outgrossing the original, convinced him otherwise. (From https://www.imdb.com/title/tt0093629/trivia)
“Even though this may seem like some bizarre dream that’s induced by Freddy himself, the man behind Texas Chain Saw Massacre and Poltergeist actually got to play around with Freddy Krueger. Rather than Tobe Hooper getting to dig into the more supernatural, postmortem side of Krueger, he curiously steps in to handle an unofficial prequel of sorts. There was a phenomenon during the late ‘80s and ’90s where popular horror franchises would be spun out into anthology series that would bear little resemblance to their film counterparts. Many horror fans are aware of the two-season oddity, Freddy’s Nightmares, but less are savvy to the fact that the show’s pilot is actually a Nightmare prequel featuring Englund himself. In ‘No More Mr. Nice Guy’ Hooper turns back the clock to when Krueger is on trial for his crimes. The episode is light on the horror but it does a good job depicting the chapter of Freddy’s life that leads to his violent death at the hands of an outraged mob. Hooper helms a bizarre little detour in Freddy’s lore here, but die-hard ‘Fred Heads’ are still going to want to check this out.”