How hard is this? Online ordering and grocery delivery is an existing thing and was before Instacart.
>It's similar to why self-checkout still doesn't work well at many stores
Self-checkout is a pain in the butt for things like produce. When you do a large grocery shopping, it is much easier and more efficient to have a clerk quickly scan everything (and there's usually a bagger too).
There are some experiments with shoppers self-scanning as they shop. Maybe something like that can still eventually work and you deal with produce somehow. (And figure out ways to minimize losses.)
This was done several years ago in the UK. American grocery stores are way, way behind the times.
EDIT: relying on anecdata from HN comments, I have never tried online grocery shopping in the US.