Sure. But there's no reason for either of them to bother. It's nearly all people just passing through while traveling. Most Cracker Barrels are located right off a highway exit, so they are easy for travelers to get to. And since Cracker Barrel is not as well-known as Walmart, they don't have the same difficulties with homeless people trying to live there forever or making a mess in their parking lots.
Even in cities which strictly enforce their no-parking laws, I never had any trouble at all in a Cracker Barrel.