It's no different if you replace it yourself, that's tangential to my point. You'd be sourcing a specialized replacement battery online and there's a risk that the battery you get is an unsafe knockoff.
I've also been able to buy non-knock off batteries for just about all electronics up to a few years ago when companies decided that soldered in batteries shorten the time-to-landfill of their products improving their revenues.
Seriously: there is no reason why there could not be a standard form factor for battery cells. If we can do hard drives, CPUs and RAM I'm sure we can do batteries too.
You're still talking past me. A standard form factor won't solve the trust problem.
Most people don't know how to choose a proper hard drive compatible with their M.2 adapter or cable for their USB device. Many people also buy counterfeit USB sticks and SSDs that don't have near the capacity they advertise. You and other tech-literate people aren't the only consumers manufacturers are selling to. Nor are people always sufficiently educated, or living among stores with sufficient reputation to source from a reputable aftermarket vendor for their replacements.
Look, I'm really not sure where you are coming from. Batteries are solved problem since 1920. It's just gadget and computer manufacturers that suddenly see a way to make a uick buck and to drive their cycle of planned obsolescence.
If I could do it at 6 and my mom can do it at close to 80 then I really don't see why other people could not. Sometimes there just isn't a problem unless you make one. Standardize the cells, sell them through the supermarket chains at a normal price, just like Duracell and other quality battery manufacturers have been able to do for ages. Problem solved, once and for all. No need to go through AliExpress, Amazon or some other shady online store, if you are that concerned about trust then the only way to solve that is to buy from a reputable vendor.
The trust problem is better solved by relevant legislation. The counterfeit problem is better solved by relevant legislation. Intentional incompatibility with generic replacement parts will eventually also be solved by, you guessed it, relevant legislation.
See also: vacuum cleaner consumables, independent car repair
It would give reputable battery producers with all kind of certificates a thing and not buying dubious compatible batteries from Amazon/EBay/Ali/whatever a thing.
It would also make it easier for people to learn how to replace batteries.
Why not argue for better battery certification and quality control or more tolerant phone designs? You could probably detect low quality batteries with software and sensors and notify the user.
I've also been able to buy non-knock off batteries for just about all electronics up to a few years ago when companies decided that soldered in batteries shorten the time-to-landfill of their products improving their revenues.
Seriously: there is no reason why there could not be a standard form factor for battery cells. If we can do hard drives, CPUs and RAM I'm sure we can do batteries too.