Yes and no: an unmaintained android will have trouble running newer apps due to older versions of SDK, and you pretty much can’t do anything about it (AFAIK), but older software can be nixed/flatpaked or even statically compiled/appimaged (and we can pretty much expect no trouble on the kernel side due to their “not breaking userspace” mantra)