I think there is a way to customise the battery charging level such that it considers 100% to be a lower charge, eg 70-80%. This should mitigate that issue somewhat, as that range of charge is what you're supposed to store the battery at long term.
My guess is this would be done with a custom kernal for the phone. You would need a phone where you can unlock the bootloader.
On both my iPhone 7 and Pixel 4a I saw a message pop up after having them plugged in consistently for a week something to the effect of “battery saver engaged” where it wouldn’t charge anymore for the health of the battery.