Is it possible to add an quit/exit activity for an android app?

I have an Oculus Quest app and want to have an activity to quit the app.
I have automate installed and there I can choose an activity for starting and stopping my app. But Unreal does not give me an activity to stopp the app. I just have the com.epicgames.ue4.GameActivity to start the app, but there is nothing to stopp.
I asked myself If it is not possible to add one by the ManifestRequirementsOverride.txt (/build/android)
or “Extra settings for section” in the “Advanced APK packaging” from the project settings.