Depending on the circumstances, yes. Whether an agreement will be enforced depends on the facts of the case and whether it satisfies the applicable legal standards under Massachusetts law.