I think coffee is quite a different market because it expires on a much shorter timeline. Being able to acquire, roast, and ship if a roastery, or roast, acquire, (drop-)ship if an aggregator, all in the space of <1 week is a bit of a moat. That requires reasonable logistics, close business relationships, and some level of operational ability.
In contrast, these box companies can buy stock that is months or even years old. I see it as a similar model to Poundland (Dollar stores?) – buying old or distressed stock for pennies on the dollar and reselling with margin. Timelines are much longer, batches are larger, there's just a lot more room for error on logistics, business relationships don't have to be as close.