Technically no.
Everytime Mughal king died, he chose one of his sons to came up and became his successor.
During this process, the king will give the chosen son with a sword as a symbol for power exchange, but the King is always the one that make the final decision.