Hello Matt, IIUC Scrivener, the one difficult part is implementing a window manger, If so you can use window layout package(s) by Kiwanami[1][2].
Footnotes: [1] https://github.com/kiwanami/emacs-window-layout [2] https://github.com/kiwanami/emacs-window-manager -- ఎందరో మహానుభావులు అందరికి వందనములు YYR