Lucile (Lucy) Ball was Lucy Ricardo on “I Love Lucy” and Lucy plus a different surname on the post-divorce show with Vivian Vance.
There are more than a few examples of the “blurred edge” effect between reality and fiction in shows like the Monkees (where four actors/singers portray characters in a band who bear the same names as the actors).
Don’t forget Roseanne Barr on the show Roseanne. I’m half convinced this is because they’re good at comedy, but not good at acting when their shows first start. This somehow allows them to not screw up their lines.
In the US version of The Office, Angela Martin is played by Angela Kinsey, Oscar Martinez is played by Oscar Nuñez, Phyllis Lapin is played by Phyllis Smith, and Creed Bratton is played by Creed Bratton. In one episode the character Creed says transfers his debts to an alias, William Charles Schneider; that is the birth name of the actor Creed Bratton.