It needs to be pointed out that for food items, it's already against the law to engage in price customization if the retailer accepts SNAP, which pretty much all grocery stores do. SNAP recipients cannot be charge more than or less than other customers. If Walmart wants to charge someone 50% for a video game because their algorithm says that customer will pay it, they might be able to get away with that, but for food, no one is going to risk losing the ability to accept SNAP.
Yes, I remember this coming up when the current admin took away or limited many people's SNAP benefits, and a few smaller retailers wanted to throw them a bone, only to understand that it was illegal to do so unless they charged the lower price for all customers, both SNAP and non-SNAP. They didn't want to do that, so the SNAP recipients suffered as a result.