Yes. Sarah Chalke played Becky Conner (the second Becky) in Roseanne Season 9 (1996–97).
Roseanne broke the fourth wall constantly. When Chalke debuted, the show ran a disclaimer card: "Alicia Goranson is playing Becky. No, wait—Sarah Chalke is playing Becky. We'll let you know when it's Alicia again." Later, when Goranson returned, they staged a Bewitched-style "Darrin switch" gag at the dinner table.
Chalke joined Scrubs as Dr. Elliot Reid (2001–2010), her breakout starring role.