Yes. Sophocles' play (c. 429 BCE) dramatizes a pre-existing mythic cycle. The Oedipus story—prophecy, patricide, incest, self-blinding—circulated in oral tradition, epic fragments, and earlier lost plays (e.g., by Aeschylus). Sophocles shaped the canonical version.