Oh, she might abdicate, in favor of William.
I don’t think that is possible. Succession to the British throne is governed both by common law and statute.