I'm not sure any current editor would let any of their writers get away with it nowadays. I'm only aware of one major instance of the "it was all a dream" ending, and it pissed everyone off. There's absolutely zero satisfaction with that kind of ending. It might as well have been axed and had to go with "This is just the beginning of our journey (not that we're allowed to show you any more of it lol)"