The short answer
Yes. Over the centuries, individuals and whole branches of the royal family have been removed from the line of succession, usually by an act of Parliament, sometimes by abdication, and for a long period by rules about religion. Well-known examples include Henry VIII’s daughters, who were declared illegitimate in his lifetime, the descendants of the Catholic James II, and Edward VIII, who gave up the throne in 1936.
Removal by Act of Parliament
The line of succession is set by law, so changing it takes a law. Parliament has done this several times, and under modern conditions any change affecting the crown also needs the agreement of the other realms that share the monarch. A title, by contrast, can be granted or withdrawn by the monarch, and that is not the same as altering someone’s place in the line. The question of whether a title can be taken away is covered in can the king remove a peerage.
Henry VIII’s changing acts
Henry VIII used Parliament repeatedly to reshape the line. After his marriage to Catherine of Aragon was annulled, his daughter Mary was declared illegitimate and removed from the line, and Elizabeth took her place as heir. After Anne Boleyn’s fall, Elizabeth too was declared illegitimate. Under the Third Succession Act of 1544, both daughters were restored behind their half-brother Edward. These changes show that a person’s place in the line could shift quickly with royal politics.
Catholics and the Act of Settlement
After the revolution of 1688, Parliament decided that Catholic claimants should not inherit. The Bill of Rights of 1689 and the Act of Settlement of 1701 barred Catholics, and anyone who married one, from the throne. James II’s son and later descendants, who had a strong hereditary claim, were excluded in favor of the Protestant line from Sophia of Hanover. This is why the monarch’s descendants through Hanover took the throne in 1714, a story told in who was the first Hanoverian king.
The marriage part of this rule was ended by the Succession to the Crown Act 2013. The rule that the monarch must be a Protestant in communion with the Church of England remains.
Abdication: Edward VIII
In December 1936, Edward VIII abdicated so that he could marry Wallis Simpson. A special act of Parliament gave effect to this, and the act also provided that he and any descendants would have no further claim to the throne. His brother became George VI, and George’s daughter Elizabeth became the heir. Abdication is rare in British history, and this is the best-known modern example.
Marriage rules
The Royal Marriages Act 1772 required descendants of George II to get the monarch’s consent before marrying, and a marriage without it could be treated as invalid. This indirectly affected succession because children of such marriages could be shut out. The 2013 Act replaced the rule with a narrower one that applies only to the first six people in line, and a person who marries without consent is removed from the line, though their children are not.
Titles versus place in the line
People sometimes confuse losing a title with leaving the line of succession. Prince Harry, for example, stepped back from royal duties in 2020 and still remains in the line of succession. A royal can give up working duties or styles and still keep a place in the line, because only an act of Parliament, an abdication or the rules in force can remove someone.
For a wider overview of how these changes fit together, see the history of royal succession in England. The present order is covered in what is the current line of succession to the British throne.