Food is considered a “perishable item” by the USPS. You are allowed to ship food as long as you’re able to package it in such a way that it won’t cause a health hazard or other problems (like a nasty smell if it starts to go bad!).