A woman filmed licking a tub of ice cream and returning it to a supermarket shelf is facing up to 20 years in prison.