Yes - as long as the agreement doesn't attempt to contract out of your legal obligations.
For example, if you decide to have an Independent Contractor Agreement with a worker who is actually legally considered to be an employee.
This is why it is crucial to have a business lawyer prepare Employment Agreements or Independent Contractor Agreements for any worker you have.