Yes. Seth Rogen has a dual role in Superbad (2007):
Rogen and Goldberg began writing the script at age 13. The Officer Michaels/Slammer (Bill Hader) dynamic became a highlight, largely improvised. Rogen's performance balances comedic incompetence with unexpected warmth.
The film launched Rogen's mainstream acting career alongside his established writing/producing partnership.