It's just the soft serve you should avoid. This is because of the (usually poor) cleaning practices associated with soft serve machines - they are a breeding ground for bacteria.
Supermarket icecream is fine