Yes, hostile architecture does sound exactly like the "solution" they'd go for. I hope I didn't imply the wrong thing; I think fences in conjunction with adequate crossings is the answer.
Thinking more about it, I don't think we actually have jaywalking laws here, or at least they aren't enforced in town. I should hope there's some kind of rules about being a hazard in busy traffic, but everyone walks in the street in town when cars and bikes aren't coming, right in front of police even, and I think that's very reasonable. Many streets are only open to buses, taxis, and delivery vehicles, so it's quiet and safe.
There's a YouTube video of a guy who I guess he and his wife did life blogs or something (I didn't watch their content, so I don't really know). He's got his recording going about the start of his day, talking about how she's sleeping in again, and then he goes to wake her, but she's fucking dead. It's like the most human thing I've ever seen on film, and I really appreciate that he posted it, even though I don't fully understand why I feel that way. It just feels important to me.