Scale text when adding letters

Is it possible to rescale text based of the number of letters in a text-node?

i’d like to have a box with text inside that always has the same width and changes the text size if i add new letters to the text…

thank you!

This is not possible in the current iteration of Figma.