I think there are already options for that. Google play might have it, open source versions allow you to use your own push notification server like https://ntfy.sh/ https://unifiedpush.org/ though a tutorial if possible would be nice 😊🙏