Navigate:

Can the interests of the children be included in the agreement?

Yes, but you have a greater likelihood of this clause being upheld or made "bulletproof" if you give this decision-making power to the child once he or she reaches the age of eighteen. The clause would read as follows:

The parties agree that the child(ren) shall be entitled to determine his or her own custody upon reaching the age of eighteen.