The short answer is Yes, to deploy a Wimboot image.
The scripting you asked about is beyond the scope of FOG, because FOG doesn’t care about the target image.
I personally wouldn’t go about deploying an image the way you have defined it with a script, but it is surely possible to do it that way.
In the end to your question, can FOG deploy a WinPE environment, Yes.