No, it isn't ok for children to eat pooh. I find it hard to understand what the OP was about.
Dogs who eat their own pooh should be helped to stop the habit. I've had a few rescue/foster dogs who had the habit on arrival. Ensuring they never have the opportunity to practice the habit, feeding a decent diet, enough exercise and providing a calm, consistent environment sorted the dogs very quickly. Some people say put pineapple in their food, so they dog doesn't eat its pooh, others advise sprinkling chilli powder on a new pooh so the dog has a bad experience. I didn't do either of these things, hasten to add.