Running Linux on an Android device with Termux and a VNC viewer can turn your old tablet into a tinkerer's paradise.
To install Linux on Android, UserLAnd is your best bet. UserLAnd is free, but the Pro version is the only way to go. It's not without its faults, but it's certainly worth a try. In the name of science ...