Not sure if there is a better way but I just came across this post where they are using a function to setup the message and then passing to the call service node. I have not tried it but thought I would share the link.
https://community.home-assistant.io/t/sharing-ios-notification-template-with-example-improved/176838