Ladybaby, expected to be published online by the corporation later this year, has been created and written by Swain, examines issues around adoption.
Reportedly set in Edinburgh, the programme will follow a woman who is reunited with the now-adult daughter she gave up for adoption as a baby.
Now a struggling stand-up comedian in her mid 30s, the central character will find herself unexpectedly reunited with her biological daughter, now 20 years old.
Glaswegian Swain is best known as the writer of Channel 4's mental health comedy drama Pure, adapted from a true story.
She is reported to have told the Herald newspaper that she tried stand-up comedy for the first time in 2019, whilst researching for Ladybaby.
Swain told the paper: "The first thing I did was a five-minute impression of my dad who is from Northern Ireland. That was my stand-up routine and people laughed. I just kept doing it," according to Chortle.