SMS Opt-In in Forms

Just adding since I had the same question recently -- looks like the feature has been updated. Via customer support:

“it is indeed possible to opt contacts into SMS messaging via workflow. The “Manage communication subscriptions” workflow action now includes an initial dropdown which has the user select the communication channel for which they’re managing subscriptions, and SMS is one of the available options; selecting for an enrolled contact to be opted in to SMS messaging in this way is effectively no different than the contact opting themselves in directly via SMS.”