Sure. But my needs haven't exceeded that RAM. I just want to keep doing the things I was doing for years on it happily, but security updates, broken services and website bloat have intervened.
Just switch to linux and it should just work. There are distros that use very little ram and it stays updated. Noscript can help you block javascript on websites
A 15 year old device can be still as capable as a raspberry pi and those work fine now for modern computing
15 years old is just old and has too little ram