Go back to the discussion when the Windows support in ownCloud 8.0 was discontinued to see the reasons. The php implementation in Windows was leading to data loss and there was no real fix for that (they tried a few work-arounds). And to ask Nextcloud to fix all the shortcomings of XAMPP is probably a bit too much to ask for. However, if you want to make it work on Windows, you can do it, it’s open source!
Why not? It’s easy to manage, backups are easy, migrations to a different host, …
Even if you want to work on a Linux Desktop, I would recommend you to use a different virtual machine and keep one dedicated to Nextcloud.
Or a cheap ARM device: