Yes, but you have to follow the reasonable quantities rules. This means you're exempt from the 3-1-1 rule limiting liquids to 3.4 ounces (100 mL). Pack formula, expressed breastmilk, or water for mixing with powder separately and be ready to let the TSA know you have it.
Drinking in SpainHowever, those under the age of 18 can buy beer or wine if they are with their parents, and there's no minimum age for drinking alcohol inside the home, so it's up to parents to decide whether they think their child should be allowed to drink.