Yes. Takes some shapesheet editing. Assuming you have Developer mode enabled.
Select the shape on the stencil and open for editing. Open its shapesheet. You'll need to make 3 changes:
A) in Shape Transform section:
1> set LocPinY = Height*0
3> set Height = guard(TxtHeight. NOTE: this is 3rd step.
B) in Text transform section: (NOTE, you may have to Insert this section. Right click within shapesheet, Insert section, Text Transform)
3> enter formula: TextHeight(The Text,Width)
That's it.