you just compared buying a charger to replacing the battery. Also, I am sure if OP wants to replace the battery at a 3rd party store, they could. It’s been 7 years.
They also still have a page on their website documenting current battery products that work with this exact model, including one battery model that can be installed inside the machine like the original one. It's a very different attitude than Apple's.