I don't want to go into details. It is possible but not easy.
I read about Emacs 29 and its in build sqlite support. https://blog.phundrak.com/emacs-29-what-can-we-expect/#native-access-to-sqlite-databasesIn that case might it be easier with Emacs 29 to setup OrgRoam on Windows because there is no need anymore to install an extra sqlite?
Kind Christian