I like this as a first-resort, very much, but alone its rather toothless.
Ancient decentralised legal systems (Anglosaxon, Gaelic, Norse) and modern (Somali Xeer, Pashtunwali) approximate that, but always with compensation in the foreground, and "follow the legal process or there's gonna be a clan war" in the background.