Yes, there is an episode of The Twilight Zone that draws inspiration from Roald Dahl's short story "Lamb to the Slaughter." The episode, titled "The Lateness of the Hour," is about a woman who takes drastic measures when she feels trapped in her life. While it doesn't directly adapt the plot of Dahl's story, it captures similar themes of deception and the lengths one might go to escape from societal expectations.
It's worth noting that the original "Lamb to the Slaughter" was not adapted into a Twilight Zone episode but has been adapted in various forms, including a well-known adaptation in the series Alfred Hitchcock Presents. If you're looking for more episodes with similar themes of unexpected twists and morality, The Twilight Zone has plenty to offer!