Under the original rules of Mafia, random lynching is necessary, viable, and a good investigative tool. It is the only option the non-mafia players have without adding investigative roles to the game. Pure chance gives the innocents good odds of finding the mafia before losing, and careful observation of discussion and voting often reveals the mafia. So when I see random lynches suggested in Town of Salem, I have mixed feelings; it should help, but given all the special roles, it seems unnecessarily risky and random in a way I find distasteful.
In a game of social deduction and bluffing, winning through random luck is aesthetically displeasing. It violates the Theory of Fun learning aspect of the game, and it feels a lot like the cheesy one-trick ponies who go for an easy win or a quick loss. Give those players a town killing role like Vigilante or Jailor, and they just go for it: soaking up praise if they kill a good target, shrugging if they kill a bad target. I generally do not trust people who exult in random violence.
I had a recent game where the town effectively lost on night 2 because we had two Vigilantes, both of whom shot randomly, both of whom killed fellow townies. For those who have not played Town of Salem, Vigilantes kill themselves the next night if they kill their fellow townies; in a game with 15 players and multiple teams, you can imagine how good your odds are after losing 4 teammates to friendly fire.
But if both Vigilantes had randomly killed mafia members, the town would have had an easy win and celebrated its brilliant heroes. We are happier to win through no virtue than to lose by our own fault.