sandbox-exec on MacOS (ie. https://github.com/neko-kai/claude-code-sandbox) seems like the perfect solution to me.
Missing FreeBSD jails in 2026 is kind of weird (hello 1999)...