I once did something even dumber. When I was new to Linux and the CLI, I added a recursive line to my shell config that would add it self to the shell config. So I pretty much had exponential growth of my shell config and my shell would take ~20 seconds to start up before I found the broken code snippet.
Sure, but the performance and battery life will be terrible. I don't think that buying old laptops solves the problems we have with most new ones. Buying something like a Framework Laptop instead of some Dell or Apple garbage actively supports a pro-right-to-repair company and you also get a really nice laptop with good performance, battery life, upgradability, reparability and customizability.
For 1400 bucks you can get a really nice Framework Laptop. And when it breaks, you don't have to spend 1400 on a new one or 2000 on a overpriced repair that can only be performed by the manufacturer, you can actually repair everything yourself!
Any particular reason why you don't code in Emacs? Since you already set up Org Mode and Org Roam, I'm sure you know how the configuration works and how to write some Elisp. It's actually not that much work to set up all the things you would need for programming (lsp-mode, etc.)
Not using Windows kinda solves this problem. It also solves many other problems lol