Jennifer Aniston could return to television soon - if husband Justin Theroux gets his way.

Aniston hasn't appeared in a regular role on television since Friends ended in 2004, and while she has shown up for the occasional guest role, her presence has been sorely missed on the small screen. However, Theroux might be giving her the perfect opportunity to come back to her roots.

Theroux spoke with Entertainment Tonight while promoting the final season of his HBO show The Leftovers recently and revealed that he is now focused on writing rather than acting.

"I have a few things that I've actually already written that I'm tweaking and retooling and another thing I want to write," he revealed. The actor has written the screenplays for films like Tropic Thunder, Iron Man 2 and Zoolander 2, and his next big project might be bringing Aniston to television again.

"If the right thing came around I would definitely [write] it," he revealed, of writing a role for his wife. "We toss around ideas occasionally, but it's got to be something I want to write and something she wants to act in, which is harder than you might think. But yeah, it would be fantastic if we were able to do something together."

Aniston has mostly starred in movies since Friends, having lead roles in such comedies as Bruce Almighty, Along Came Polly, Rumor Has It, Marley and Me, The Switch, We're the Millers and Office Christmas Party. She has also dabbled in dramatic film as well, drawing rave reviews for her role as a woman grappling with chronic pain in Cake. She is also starring in and executive producing an upcoming war drama called The Yellow Birds.

Meanwhile, Theroux's series The Leftovers returns for its third and final season on Sunday, April 16 at 9 p.m. ET/PT on HBO.