That happens anyway though, as much of law in Common Law systems is only settled by precedents, jurisprudence, etc. Even the US's Constitution interpretation is up to the courts when questions arise, that's the courts' job anyhow.
At least working with the spirit of the law allows ways to prevent loopholes in a way that the letter of the law process only allows if new legislation is passed to cover those loopholes.