No, the TF4 is not one of Digitrax's FX or FX^3 decoders. The green and violet wires (Aux1 and Aux2) are only on/off functions.
You could play around with the lights, putting the headlamp and red class lights on Aux1 and Aux2, and put the ditch lights on the white & yellow wires (F0(F) and F0(R)), and set those to different flashing rates, but then they will always be flashing. No way to have them only flash when, say, F2 is pressed for horn/grade crossing.