There’s a plugin that does this which you may be interested in: https://krita-artists.org/t/krita-split-panes-and-other-tweaks/
You will have to use Tabs instead of Subwindows to make this plugin work but you can save layouts and reorder them flexibly similar to subwindows.

