I am having success creating a new SMS message with an empty recipient in iOS 17.x and Android 15 using the following format:
<a href="sms:?body=Some%20URL%20encoded%20message">Invite</a>