Sure, but you'd be best advised to have a lawyer in your jurisdiction review it for compliance with local statutes and practice. If you're in the U.S.A., then your State's law would be pertinent.
The links that I've posted below might help get you started, but beware that the law can be different from State to State and what is acceptable in one place isn't necessarily applicable elsewhere.
A generic Hold Harmless Clause may also hurt you if it's too broad or too narrow for your specific purposes. An attorney can help you make sure that you have the right fit.