While "lots of people do it" and grocery stores often turn a blind eye to parents who let their kids snack on something not yet purchased, until you purchase the food it's actually not your food to eat.