to an extent, but the automatic part is a sticky widget for this particular case. as other in this thread have commented, not all users may want the baggage that comes with running at 100% even if they are plugged in to mains.
It isn’t standard with Apple laptops. They normally don’t slow down on battery. They do reduce screen brightness by default, though you can override that.