As long as the market maker is executing orders at the NBBO on their ATS, they shouldn't be in conflict with Reg NMS, even though they are the only operator with the ability to market make on their ATS. Paying for order flow allows market makers to avoid competition in capturing the spread at the NBBO, however small the spread may be, while also helping to guarantee liquidity to capture the spread on, by giving them the sole privilege to market make on those orders.
Returning to the earlier poker table analogy, I mentioned that the operator with a local monopoly on poker tables, would be required to keep their rake low to keep their local monopolistic privilege, as an analogy to how market makers also have to keep their spreads in line with the NBBO (due to Reg NMS), in order to keep their privilege of executing orders on an ATS.