I've seen lots of sites claiming to debunk the west and how it wasn't like anything its been portrayed in books, movies etc. However I've recently been into metal detecting and while researching places using lots of older books that supposedly tell things from first hand accounts of people living in that time and there stories seem to tell it as a violent lawless place.
Circa 1900, there were still towns on the west coast that were violent and lawless. The city that I presently live in was one of them, and it wasn't a run of the mill boomtown. (Or perhaps it was.) There was a naval shipyard there. In fact, at one point that shipyard almost closed because the Navy was fed up with the violent and lawless nature of the city that it was located in. The city fathers went through the motions, the crime rate temporarily decreased, the Navy was satisfied, and then things went back to normal a year or two later. It didn't really get cleaned up until WWII, and it remains the armpit of the county today.
Do you think that mining towns from thirty years earlier were less violent and more lawful? Even in the areas where there were "laws" (and I use apostrophes, because these were generally located outside of the United States and any laws in force were locally generated, and locally enforced), there wasn't much of an executive branch. You and I are drinking and we get into an argument, and you shoot me dead. There's maybe one LEO in town to deal with it. Is he a better gunfighter than you are? Smarter? More clever? If not, he can enlist some help, but maybe you're a popular guy with a lot of friends, and your friends all have guns. What now? And if you knew this, going into town, would this make you more or less inclined to resort to violence if you had an issue with somebody?
Iceland had a similar system of government for several centuries, from about 900 to 1300 AD, give or take. Read the Sagas if you want to know how peaceful this system of government is. The institutional violence grew to the point where it made the system untenable, which is how they became subject to a monarchy.