Only if the legal system allows itself to be changed.
The present system in many countries is that criminal and civil codes are too large to be comprehended by a single person, too large to be changed rationally, and the processes too subject to corruption to be changed all at once.