It is the pinnacle of rudeness to do so. If the coffee shop sells food, buy their food, don’t bring someone else’s food in. This is their business, their livelihood. Especially if it’s a small local business. Let me repeat, THIS IS NOT OK! If you want their coffee, but someone else’s food, get takeout from both places and go to a public space.