Yes, you may pack food in your carry-on or checked bag but remember all food must undergo x-ray screening. Foods that are liquids, gels, or aerosols must comply with the 3-1-1 liquids rule. TSA officers make the final decision on whether certain items are permitted into the secured areas of the airport.  For more details, please visit the TSA website at https://www.tsa.gov/travel/frequently-asked-questions/may-i-pack-food-my-carry-or-checked-bag