Imagine Lenovo refusing to service your ThinkPad because you've compiled your own kernel.
Charging IC has NTC thermistor and battery absolutely must withstand the system running on 100% and then some.
As for battery lifetime, batteries are cheap, unless you glue them to an expensive assembly and force people to replace whole assembly as phone vendors do.