Routing based on Service Availablity

All,

We would like to check if there is a way we can address the below scenario in Traefik 2.2.1.

Scenario:
If the health of the backend service (in Kubernetes) is not good, route the requests to a service (non-containerized).
If the health of the backend service (in Kubernetes) is good, continue routing the requests to the same Kubernetes service.

PS: I am able to make requests route through directly to a non-containerized service using a dynamic configuration file with no issues.