At least in some countries, jaywalking is illegal. I know, it's not the same thing (nor does it actually help), but sadly, people would just override/ignore it to avoid the notification like they do with seatbelts or safety googles or Clippy. lol, now I'm imagining Clippy asking that, except paraphrased as "It looks like you're trying to kill yourself. Do you need assistance?" Ironically, you then kill yourself just to get away from Clippy.