In theory. The commuter rail I sometimes take follows an old rail right of way. Some of the stations are in fairly developed areas. But some of those, like Concord, presumably predate even the original rail. And a lot of the towns are pretty spread out. You can't walk to much until you get to the last two stops in the city proper.