No, the effect of the dice rolled would apply first, before you had a chance to play the scribe. However what you could do, to minimize but not completely eliminate the risk of an offering coming up, is choose to play the Scribe immediately BEFORE you roll the dice, to remove one dice already on the altar.

While you could still get unlucky have all dice you roll come up with an Ankh face up, the risk of that happening would be that much lower (only 16.66% of the risk you would run otherwise).