AD: how to install unsigned apks?

You might want to read this Aliendalvik: root access?

Not a complete solution, but if you have knowledge about Magisk, root, etc. this might help. Putting the APK in a certain path in unpacked image might also work without rooting.