There's nothing prohibiting it. Most companies probably wouldn't do it because the market likes certainty, and "we might keep our CEO or maybe not" isn't a great signal.