Yes.
BUT. The battery planned obsolescence thing was bogus.
My sister had a series of Google Nexus phones, which ALL bricked themselves because, as their batteries degraded, they’d lose the ability to boot the phone at low charge. Meanwhile, all over the world, other batteries that were pushed too hard in other Android devices gained infamy for exploding or at least malfunctioning.
Apple recognized this. Instead of leaving their customers out to dry, they capped battery range so it wouldn’t explode or bootloop, yet somehow the public hated them for it.
For all of Apple’s numerous, numerous planned obsolescence sins, I don’t know why people keep ragging on that one. It was actually a good thing. It’s actively harmful to hate on it because it discourages Apple and others from doing it again.