Please DO NOT DO THIS because the Debian 10 /boot is too small for newer versions !!!
You can upgrade from Debian 11 to Debian 12 but PLEASE DO NOT UPGRADE from 10 to 11 !!!
I know this because I have been messing around with this stuff like a month ago or so