Not when people are having a conversation with the people sat next to / opposite you and you're trying to finish a complicated feature. An office or cubicle would help (but probably not stop these assholes) because it sends the signal that this is a workspace, not a communal chat space.
Also we don't have enough meeting rooms to accommodate even scheduled meetings which means "camping out in empty meeting rooms" is a non-starter of a suggestion, sadly.
I've had VPs ask me about how productive those programmers were with side remarks about seeing them frequently talking with front desk and hr (presumably socially). One was really productive so not really an issue for me but not good having to explain that.
Developers like that are hugely valuable in a start-up, they talk to everyone, get to know what their jobs are, and are the people you go to when you need to know what the problems internal users are facing really are.