In iOS, sure, but macOS? Most people I know install stuff outside the app store, it's still the case that many apps come as a dmg that you open and drag the app into the Applications folder.
There is some way for iOS, and some iOS apps work on M1, so maybe. Although Apple has been removing PWA style apps from App Store, so better check newest requirements somewhere at docs.