If done properly it will work, and quickly.
The dispatched bad guy needs to be left in the public square so they can be seen in the morning. Do this day after day and you can bet the bad guys, who all know who they are, will leave town pronto. The stress of knowing it is only a matter of time before you are killed is excruciating, especially when it can be relieved by simply getting out of town.
Unfortunately it will turn into leaving long un appropriated scores settled. Business interests, love interests, just plain old fashioned animosity.
Nothing good will come of it, it will be like Iraq.
It worked in Skidmore.