Yes, you can recover from hitting an obstacle by reviving! To revive, you need to spend G-Coins or watch an ad.