Yes, it’s allowed, you just need to follow the rules of the airline regarding what foods are allowed.