I heard that too growing up, not to eat the dough because of the raw eggs. When I have made cookies as an adult, I have nearly always taken taste of the dough... just a taste. 😄
I've seen cookie dough ice cream along the way. The time or two I've tasted them, they were decent. If we have anywhere that sells it like you are showing it here, I have never heard about it.