I understand very well. You could change foot=permissive isntead, but there is no way right now to specify the danger level of a footpath. I wish there was, but it does not exist yet. Usually, we should use other data on top of osm for this kind of usage, but I know it is difficult to implement. However, you can add any tag you like and use them for your specific routing. Example: routing:danger=1-10 and then in your routing engine you could route only if danger <= 5 or so. But keep in mind this is non-standard and people could remove those unstandard tags. The problem here is that on a Sunday at 7AM, this crossing is almost always emty and thus very safe, but at rush hour on a weekday, this is dangerous, but still legal. Highway code explains that you must use a crosswalk if between two intersections, but at an intersection, you can cross, even if there is no paint or crosswalk as such, expcet if there is a specific sign for pedestrian saying it is illegal to cross the street there.