Yes, and food makes up ~13% of the BLS CPI. This is taken into account when they do their surveys to see what people are spending their money on:
* https://en.wikipedia.org/wiki/Consumer_Expenditure_Survey
Remember that the CPI is the national average inflation for an average basket of goods, and not your personal inflation. In Canada, StatCan actually has a personal CPI tool so that you can see how things are for your personal basket of goods:
* https://www150.statcan.gc.ca/n1/pub/71-607-x/71-607-x2020015...