Yes. Eating a diet rich in sugar and starch increases the risk of tooth decay, and sticky foods can be a particular problem because they are more likely to remain on the surface of the teeth.
Frequent snacking also increases the amount of time that acids are in contact with the teeth.
In the absence of good oral hygiene, it doesn’t take long for damage to begin. The acids generated by the breakdown of food stuff in the mouth can begin to attack the tooth enamel within 20 minutes of a meal.