The concern regarding the consumption of raw cookie dough is the salmonella from the uncooked eggs. However, the human body can handle a certain amount of salmonella and be fine. The worst you'll get is a stomach ache if you eat a large amount of the dough. Most people eat a small amount of raw cookie dough, so the concern is minimal.
Something I've been instructed to say… This is my unofficial medical opinion. It is not intended to diagnose or offer a medical solution. Blah, blah, blah.