Unless specifically prepared to be eaten without baking, eating raw cookie dough can be harmful. Raw eggs can contain salmonella.