Before anyone thinks of implementing this for large-scale notifications/outbound SMS with one SIM card and an "unlimited" SMS plan for $40/mo, be aware that your cellular carrier will rate limit or cut you off completely pretty quickly if you use it for bulk SMS.
There's a reason why various VoIP providers have APIs and bulk SMS rate pricing.
There's a reason why various VoIP providers have APIs and bulk SMS rate pricing.