Yes. Generally speaking, you cannot include any terms that would require one party to do something illegal or immoral. Additionally, courts may not enforce certain clauses such as those related to child custody or child support.