It's pretty common that vets don't know diets, they aren't dietitians and aren't taught what diets and nutritional content each animal needs to thrive. Especially exotics.
I refuse to even discuss diets with one vet that is local to me lol and the other vet I usually use stopped trying to advise me on diets when I talked her under the table about ratio's. When I take mine to the vet it is for medicare or wellness exams ONLY and even then the vet takes my medical glider knowledge on board when we make decisions on what we are going to do.
They are only taught the basics for medical care in most cases, the vets experience with an exotic only expands when they get actual hands on experience treating them.
I would venture to guess that the vet that said no fruits n veg had some experience with a glider that had constipation or impaction and assumed it was from being unable to digest the fiber from fruit n veg.
Gliders spit out what they can't digest that is why we do not recommend pureeing their fruit n veg in blenders and food processors that forces them to eat insoluble fiber that they would normally spit out.
now pureed fruits n veg CAN cause digestion issues like constipation and impaction as I already mentioned, so can feeding them nuts and seeds.
Sj is correct bml relies on the fruit and veg to make the entire diet balanced it is ok to give a good quality pellet on the side but it is NOT ok to be feeding 2 different diets at the same time.