I don't fully understand. Are these functionalities baked into Android that only allow Play Store to use it?
Important to note this has changed starting with android 12, now you just need accept installing the app, and the source can update the app without interaction.
Droidify (third party fdroid client) supports it, among others like Aurora store.
Unnecessarily mind you, GrapheneOs proved that you can get the vast majority of GMS functionality without it needing to run as root. Even Gpay would work if google allowed it.
> That includes those annoying update confirmation dialogs which make it impossible to install updates automatically without user interaction.
This has changed with android 12, third-party sources can now auto update an app after a user accepts the initial prompt go install it.