No, because if this were the case, the UK wouldn’t have royals, North Korean wouldn’t be a dictatorship, China wouldn’t have the CCP, and America wouldn’t be a two party state.
Hardly any existing polity would willingly hand over control to an AI.
More likely an AI would overwhelm human polities through endless hacking and warfare.