With RAG it should be possible and with strong business logic outside the LLM it should be safe. A company called Pacer Pro is active in the space.
It should also be reasonably easy to identify hallucinatory / fabricated material. If we give those tools to law schools and judges the hammer comes down pretty quick on anyone who tries it again.