Yes such an agreement would have enforceability. When such an agreement is notarised on a non-judicial stamp paper and the requisite fee is paid the agreement would be enforceable in courts.