Yes. Before typewritten agreements, all legally binding agreements were handwritten. It is still true up to this day. However, a handwritten agreement must be scrutinized, since one can easily add terms after it has been signed by both parties. One way to prevent this is to sign right below the last paragraph on each page to make sure that nothing is added.