Imaginary world? in one's head?

Yes, but in this case, the paracosm as subject - or at least heavy plot point - survived all the processes of profit assurance in the TV and Movie-making industries. That’s no small feat.

Mr. Rogers was famous for a whole lot more than that, but yes, it’s an excellent example.