Oh yeah, like how in the late 1930s Garmany instituted a law that citizens were legally obligated to report on neighbors doing anything suspicious
That was still the case until the 1990s in Eastern Germany (GDR). And I don’t know how many other places still have it. Now Usa, too.