At the very least they should let you self sign and run applications you built yourself. I feel that is enough barrier to entry to keep Grandma from sideloading a virus.
I remember going on vacation away from my computer and discovering my own app failing to launch after a few days. I guess I had tended to rebuild and reinstall it so often that I never saw their signing expire before.
It is pure crap that Apple has any ability to prevent you from running software you created and installed yourself.