If I understand correctly, this is the configuration:
To answer your question, yes it is possible to make this work. There are several ways that you can go about it.
- Routing - If the router has some OSPF relationship with the next hop routers in areas 1 and 2, then it can be informed of loss of connectivity to networks that are further downstream. The router will then revert to the secondary connection in order to reach those networks. This will work especially if routers in Area 1 and Area 2 pass on default network information, meaning that the router will be informed of the default network. You can adjust interface costs in order to influence the OSPF routing so that the MPLS connection is preferred.
- IP SLA - Using an SLA such as a ping to a particular network via the first interface, in the event that a ping fails, you can insert another alternate route into the routing table. More about this can be found here:
I hope this has been helpful!