That's literally how things work now. ~99.99999999% of contractual agreements are not litigated. The legal process is there as a slow debugger when it all goes wrong. But most of the time, things don't go wrong and people work out their disputes without involving courts and judges.
A legal framework. You mean laws? We have those for all sorts of things but we still have courts to interpret How the laws apply for specific situations.