It just boggles my mind that some people who work with children can be so anal about insisting that certain kinds of imagining are inappropriate at certain ages.
With the child that nextcommercial was talking about, the only problem that I can see is that he is licking other people. Kids definitely need to learn to respect others' personal space, so if my child were pretending to the point of encroaching on the space of others, I would certainly intervene and help him find ways to pretend while still being respectful of the rights of others. As far as the crawling on the floor or getting left out of games -- maybe he is not ready to relate to his peers as peers yet. Unless he's getting really upset about getting left out of games, I'd just let him deal with it in his own way -- minus the licking, of course.
But OP, it doesn't sound like your daughter's pretending is encroaching on anyone else's rights, so I think it's kind of bonkers for her teacher to even be interfering. I will say that when I was in 2nd grade, I didn't enjoy playing the playground games so I started taking a book outside to read under a tree, but after I'd done this once or twice, the teacher started intercepting me and taking it out of my hands as I went out the door.
So then I just headed over to one of the trees to the side of the playground, and spent my recesses wandering around in my own imaginary world. I think this was pretty adaptable of me. She took away my story, so I created my own stories in my head. But she told my parents it was causing the other kids to think I was really weird, as I was talking to myself and gesturing as I walked around, so the school made a rule that there were limitations as to how I could enjoy my freetime. I needed to either keep busy on the equipment, join a group game or sport, or play make believe with other children.
Occasionally, I was able to get one or two girls to join me in make believe, but for the most part, I stayed in my own head but learned to "keep moving" from one piece of equipment to the next. If I relaxed for a moment and stopped my mindless circuit from monkey bars to gymnastics bars to slide to swingset (they wouldn't just let me stay on a swing the whole time, or sit waiting by the swings for a turn) -- then the teacher would notice I had stopped and threaten to insert me into one of the competitive games unless I got moving again, pronto.
This experience of "free time" in the public school system is one reason why I ended up homeschooling my own two girls. My oldest, who is 12, has recently expressed the desire to go to school, so we plan to enroll her this coming fall. I feel like at this age, she's less impressionable than a 6 or 7 year old, and, of course, she will have complete freedom to evaluate the experience and decide whether she wants to stay in school or not.
From what I've heard, some teachers are learning about respecting diverse personalities in their inservice training, but it definitely seems like some are still stuck in the rut of trying to force everyone to fit in.