Lactase is the main way that people digest lactose and it's produced by human intestinal epithelial cells rather than bacteria. It seems plausible that a bacteria to digest lactose could serve a similar role, but I don't think that's how people typically digest it.