This is already in place - by default macOS does not allow apps to be installed which do not include a signed Apple developer ID. The setting can be turned off in System Preferences.
I meant workarounds as in there are still ways to launch non-signed apps, like right-clicking (or ctrl-clicking, or using the Finder widget menu) the app and selecting Open.