That's pretty much what Spirit and Opportunity's airbag landing system was, although a lot simpler --- it was set up so that no matter what way up it was after it came to a rest (after bouncing and rolling!), when the bags deflated it would automatically roll the right way up so that when the deployment mechanism finally opened, the rover could just drive out.
I've tried to find a video showing it happening, but while there's lots of animations of bouncing, rolling, and the final opening up, they all miss the critical moment. Also, car safety videos are really badly poisoning the search results...