In Canada you absolutely can sue the appropriate level of government for non-repair of roads. I know someone that did it when his car got totaled by sliding off a badly maintained county road.
Why don’t municipalities and other levels of government simply put a clause requiring the officer to have a duty to protect citizens as part of their jobs in individual police contracts? I would expect that would neatly sidestep the existing legal rulings on the constitution.