You’d need to de-solder the existing IC chips and solder new ones; while I’d imagine they’re standard chips, it’s hard to say if you’re going to find the right ones unless someone else has a sacrificial board to donate you the chips, which would make this more likely to be a cost prohibitive adventure.
I don’t know your soldering skill level, but I’m terrible at it, and I am already not the typical nerd in my circle of nerds; so I’d suspect most people will have better bang for their bucks (in case if things go sideways and then need to buy new system anyways) by looking at Apple for refurbished M2 MacBook Air instead.