No, you cannot do this. It works only with numeric data formats (numbers, decimal, currency date etc.)
Also consider (if applicable) translating the user input into another cell with a formula:
=MID(A1,1,2)&"-"&MID(A1,3,1)&"-"&MID(A1,4,2)&"-"&MID(A1,6,1)