Hello,
Yes you two can enter into such agreement, there is no issue in this. However signing this document will just protect you if you are investigated for some matter in future. You can show this paper to authorities. I can draft the same for you and you can get it printed on Rs. 100/- stamp.
Regards