As discussed here: brave/brave-browser#695
Thanks to the excellent answer by @Redsandro I was able to do this on Windows, which I'll document below because my future self will inevitably find this via Google a few years from now. Since it's using SQLite it should not be too hard to adapt for Macos and Linux.
Edit: this method still worked as of 9/3/2023. :)