This feature is baked in Ventura, but there is no UI interface to enable it. You can force limit Mac charge to 80%. This works without any application like AlDente. Currently AlDente using hacks like that it disables sleep during charge, because when Mac sleeps, it will charge to 100% and limit is not activated if the app is not running.
This new SMC option charges battery to max. 80% even when Mac sleeps or it is powered off.
Intel based MACs have this feature from the beginning + you can configure threshold freely (on M1 you can set to 80% without option to configure threshold).
I hope the same feature will be available on older iPhones/iPads someday.