yes, that is what the router do by default. It has 4 WAN connections

cable > repeater > tethering > modem

If one method doesn’t work it will failover to the next method.