If I have something so important that it has to run for over a decade that I cannot risk doing an OS upgrade, then I don't see why I shouldn't need to pay for that, assuming the fee is reasonable.
It is also very easy, to take Debian 12, install Docker or Podman on it and just put everything into containers, that way the only thing that you need to work after an upgrade is your container runtime and you are all set.