If I were to cast a spell that would cause one of my creatures with extort to come back to my hand, like an orzhov charm, can I use the creature's extort ability before it leaves the battlefield?
Yes you pay the extort cost when the spell is cast not when it resolves.