Stroke inside/outside cannot be used on text.
As a workaround, select the text with the Selection tool (not the text tool), open the appearance panel and add a stroke. Drag it below the Characters and give it double the stroke width you intend to use.