Yes, wild monkeys and apes do eat eggs. While their diets primarily consist of fruits, leaves, seeds, and insects, many species are opportunistic feeders and will take advantage of whatever food sources are available, including eggs.
Egg consumption can vary by species and by the availability of other food items in their habitat. For example, baboons, macaques, and some other primates are known to raid bird nests to access eggs. This behavior provides them with a rich source of protein and fat, which can be especially important during certain times of the year when other food sources might be scarce.
Moreover, the ability to adapt their diet to include eggs demonstrates the resourcefulness of these animals in the wild. It also highlights their role in the ecosystem, as their foraging can impact bird populations and contribute to the balance of their habitats.