Lavender is not generally considered harmful for babies in very small amounts, but it is not recommended as a regular part of their diet. The plant contains compounds such as linalool and camphor, which can cause nausea, vomiting, and headaches if consumed in large quantities.
Lavender oil, in particular, should never be given to babies or young children, as it can lead to serious side effects. If you are concerned that your baby has eaten lavender, consult a doctor or healthcare professional for advice.