Is Calling a Firebase Function from the App to Send Notifications Secure?

In my mobile app, I use Firebase Messaging for notifications such as friend requests, new messages, and in-app purchase updates.
I’m calling a push-notification function that I created in Firebase Functions directly from the app. Is this approach open to abuse in any way?

If you know a better method, please let me know. Thank you.