I did do that quite some time ago on my main system. But I don't plan on doing that again for years if I can help it, as I prefer not having to reinstall apps. As long as my computer is running well I won't reinstall Windows. If it isn't, I'll do my best to resolve any issues before I resort to reinstalling.
On my main PC I try not to have to re-install the Win 10 OS because of the reasons mentioned above by others. On another PC which I test a lot more software on I do re-install the OS more frequently, maybe 3 or 4 times a year. Even when using uninstallers with good reputations there can be leftovers from software and even more so with anti-malware products, because they go deep into the system, even if you use the recommended same brand uninstallers. Clean installs speed up that machine quite significantly.
Four years ago, I set up my new PC and made a basic image with Macrium. No security software except Microsoft Defender. Every 2-3 months, I update or upgrade that image. Last week I upgraded to Windows 21H1 and updated Macrium. I keep 5 basic images. I can use F-Secure for many months, but this software is not a part of my basic images. Only Microsoft Defender. And Configure Defender.
This week, I use Microsoft Defender with Configure Defender and Voodooshield 6.50. In the last 4 years, I had to go back twice 6 months earlier to get rid of a bug but, most of the time, my PC stays very stable.
I do a clean install on a regular basis. The reason is to free up space on the c drive.
Regarding the point of reinstalling the software and restoring the environment, I am dealing with it by putting the portable version in the d drive as much as possible.