True lactose overload — the actual clinical condition behind the popular "foremilk/hindmilk imbalance" — does exist. But it's uncommon and almost always associated with significant oversupply. Here's the mechanism: when a mother produces substantially more milk than her baby needs, the baby fills up on large volumes of lower-fat milk before ever reaching the higher-fat milk deeper in the breast. The excess lactose from all that lower-fat milk can overwhelm the baby's ability to digest it, leading to osmotic diarrhea.
The symptoms are specific: frothy or explosive green stools, excessive gas and bloating, a baby who seems uncomfortable despite feeding well and gaining weight (often gaining very rapidly), and a mother who is clearly overproducing (breasts that refill quickly, frequent leaking, ability to pump large volumes easily). If baby has green poop but none of the other symptoms, it's probably not a foremilk/hindmilk issue.
The treatment for true oversupply-driven lactose overload is block feeding (feeding from one breast for multiple feeds before switching), not pumping off foremilk, which would make oversupply worse. A lactation consultant can guide this process.