Yes, you can eat spicy food while breastfeeding, but be aware that it can affect the taste of your breast milk, which your baby may not enjoy.