Yes, you are allowed to bring baby food in your hand baggage. You may need to take them out to be scanned separately when going through airport security.