Waiting for someone to recover and the reappointing them, or re-electing them, is perfectly acceptable. And, if you want that character in that position, the correct thing to do.
Appointing someone to hold the region for four days until the "rightful duke" is back and then they'll step down is not acceptable. If that was acceptable, then the game would specifically allow you to appoint someone to do that.