You can send small amounts of non-perishable foodstuffs in your luggage provided they are packed safely. Fresh or frozen food products should never be sent in your luggage.
However, it is possible that there will be restrictions on what you are allowed to import into the country of destinations. You should always check with the relevant officials at the Embassy/High Commission of the country of destination to ensure that you comply with local rules and restrictions. This is your responsibility.