Is it possible to combine a text field with a shape in Sketch whereby the shape will auto expand to accommodate the text length?
Sketch doesn't have this functionality built-in by default, but there are two very similar plug-ins that offer it:
I've been using Dynamic button for quite a while, but recently switched to Compo, as it offers greater control in setting margins (e.g. it's possible to keep an element fixed to a certain side of a component).
Aside from plugins, the only workaround would be to duplicate the text layer, convert one of them to outlines and hide the other.
This way you still have a backup to change text if you really need to. The outlines will scale, but the hidden text won't.