I can't find the one research study I wanted to link to now, but with a search on Google Scholar you'll find papers on this topic.
The one I wanted to link to raised up the same concerns from coffee shop owners, and those that embraced a coffee shop/coworking space model, had their plugs + comfy chairs in the back where they could also offer a less noisy environment (without an actual separating wall or anything like that). If I recall correctly they also had one-day type of passes that included a couple of drinks/snacks.
That specific paper was about this model during the pandemic period, a followup study would be interesting now once everything is opened/opening up.
The inverse of this is that you want to have "stiff" chairs if you don't want people to linger for too long when they get a coffee.