iPhones could set an alarm to notify their users when their battery is already fully charged, but it does not come with the Apple device built-in.
iPhone Fully Charged Battery
It is worth noting that iPhone batteries degrade over time, similar to other smartphones or battery-powered devices.
However, there are a couple of tricks that could help prolong the health of your iPhone battery before it starts losing its charge.