Yeah but the determination of safety is pretty difficult to do and it's extremely rare for this to happen safely. Take for example the Gimli Glider. That was an actual airport though defunct and from a distance it looked fine but in the end it turned out there was a race going on. It was only luck that people managed to get out of the way in time.
Could an automated system make a better determination than a skilled pilot? And is the scenario frequent enough to warrant the big cost of cameras etc (keeping in mind they must be stabilized and with huge aperture to function at night). I doubt it.
The "miracle on the Hudson" was not called a miracle for nothing. Usually it ends like a few months ago at Washington Reagan.
And a freeway is never a safe place to land an airliner of course. The traffic makes it so. Even if there's very little, there's lampposts, barriers etc. If an airline pilot ever steers towards one they're really going for the least terrible option. Small planes fare better of course but again they won't have such tech for decades.