Kia Ora, Te Rangi.
Have seen this done at Ardmore for A Beechcraft Duchess landing at night with nosewheel jammed up and having discovered the fault, unable to retract mains. Metropolitan Fire Brigade jumped at the chance to foam the runway, in conditions which were less than ideal (poor hydrant pressure). The middle section of runway 21 was foamed and the aircraft landed normally, until the nose dropped and brought the aircraft to a halt prior to the foamed area.
It took another 4 hours to hose the foam off the runway, but Ted was pleased because he got his grass fertilised for nothing.
I believe the foam is rather corrosive, and this may be another reason to keep it in the firetrucks until it is definitely required.