There’s already a flow to download an app from a link or QR code, apps can be configured so they’re not added to the home screen, and apps are automatically deleted (“offloaded”) on low storage.
I've come across quite a few of them, especially for ordering food / drinks in "restaurants", theatres, sports venues etc. In that setting, they're superb.