Yes, it's safe to eat homemade cookie dough ice cream as long as you use a recipe that involves heat-treating the flour to eliminate the risk of salmonella. You can also use store-bought edible cookie dough.