I would love to do this. It's shocking how little Android offers for the hardware it uses. Recently I was thinking if I could install Windows 98 on my phone, even that would be better. At least I could have more than one app open without it burning all my work just because I dared to check info on a web page while filling a form.
Oh yes, the endless joy of "We have sent a one time code to your email." Yes, but if I switch to my email then I will lose my browser session and thus the code is useless. So you have to get out a laptop to open your email just so that you have 2FA on your phone.
And "please confirm this payment in your bank app". That one's even worse because the payment goes through while the site forgot what you were paying for. If you're lucky it gets refunded.
My LineageOS setup used to do that; until I found that someone found a script that would adjust the memory allocation and OOM killer to more sensible values. I just have that run on boot. No side effects.
Unfortunately, that's not an option for most people, the only choice is to complain - but not like there's any other option on the market that behaves better. Or there's some other drawback, or different UI to learn...
Sure; it was one of many posts in xda for a cheapo mid-level Chinese device. I haven't gone through it too deeply to understand and optimize further, works fine as-is to me.