Coparenting

I have been avoiding getting a restraining order because it will make things difficult. Is there a way to coparent with a restraining order?