If it were all just a dream Spock was also dreaming about being a disembodied camera and being in two in places at once which is impressive.
It's not that impressive. I've done that in my dreams on many occasions. I've also shifted and inhabited multiple viewpoint characters in the same dream.
In my dreams, storylines will shift and meander, change tracks, cycle back around to pick up the plotline of an dream earlier in the night's sequence.
My brother, who cannot remember his dreams, once observed that my subconscious must be a scary place. In my dreams, there is frequently a sense of wrongness and an air of mounting paranoia and oppression. Sometimes they have their whimsical moments, like my Summer 1983 "Star Wars" dream in which followed our heroes during a sequence set during ANH where everyone is running around the corridors of the Death Star evading stormtroopers and our heroes try to conceal themselves among off-duty personnel on the decks containing what can only be described as the Death Star's Imperial Shopping Mall.
(My brother also says that he is very glad that he cannot remember his dreams because we have very similar thought processes and after hearing me recount various dreams I've had over the years, he wouldn't want to remember experiencing them himself.)
I remember certain dreams for years afterwards, some for decades. I have dreamt in a mixture of live action and animation. When I was around five, I had a dream set in an animated fairytale world in which the early seventies cartoon Burger King mascot and I had to flee a scary monster up a circular tower staircase, waking up when we opened a door and stepped out into open air to fall to our doom.
Dream logic does not follow hard and fast rules regarding narrative structure. Dream logic can frequently contradict itself within the same dream. In my dreams, something that was patently impossible a short time earlier will suddenly become possible with no internal explanation, and vice versa. My dreams will also frequently throw up arbitrary roadblocks toward completing the simplest of desired actions. This morning, for example, I had a very mundane dream about having to repair my newly installed furnace. The repair process bore no relation to anything it would take to repair said furnace. I had to wait for some chemical reaction within a hissing white plastic part to settle. As that happened, some bizarre goo appeared within said part that turned the plastic a dingy rusty color. Upon bringing the part, to the repairman, I dropped it, spilling the goo. I had to painstakingly gather the goo and scoop it back into the part. We get the damned thing installed and it's time to pay, but first I have to find the checkbook, get into an argument with the wife while locating said checkbook, find it, then write the check. In the dream, I had been quoted a price of "thirty-nine, fifteen and eleven cents." So, I started to write the check for $3915.11, but no, I was being charged "thirty nine thousand, fifteen dollars and eleven cents" and I didn't have money in the account to cover the check. Oops.
Again, by the standards of my usual dreams, that is a mundane one with nowhere near the usual amount of Kafkaesque touches. I wish, though, that I could remember well enough to explain to others the specific scenario of the dream last month in which I noticed within the dream itself that I was switching between viewpoint characters.