If the manufacture allows you too - yes. Not really up2date on that topic but in the past their often were no settings for this. Essentially users were forced to jailbreak/root their devices to have sufficient rights to configure (maybe with the help of 3rd party apps then) such settings. ![]()
Keep it save and simple - or not. Running an extra smart switch which turns charging on/off depending on the battery state obviously is possible. The parts for this are actually dirt cheap but you will have another device being powered 24-7 for that luxury ![]()