You can brush his teeth. Make sure you use a brush and doggy toothpaste made for dogs.
I work on the theory that if you can train a killer whale to launch itself out of a swimming pool, roll on its side and urinate into a small plastic cup, given only a whistle and a bucket of fish, without a choke chain, then you don’t need those confrontational techniques with dogs. -Dr. Dodman
You could brush his teeth but to be honest, it would be a bit of a hassle to brush them after every bit of poop he ate. Over the years my dogs have eaten all sorts of poop and none of us have ever gotten ill...
What are you doing to try and stop his poop eating? you could try those pills from the vet if you haven't already.