Off the top of my head, Valhalla has an option to bias the route against following a highway=service
service=alley
, which wouldn’t recognize highway=residential
lanes=1
. On the other hand, I don’t know if any router specifically penalizes a one-lane road of any classification in the manner that some mappers would expect.
But the aspect I find more interesting is that many narrow alleyways would discriminate against a subset of a legal vehicle classification, so legal restrictions are somewhat irrelevant: