Yes it is possible to do it, but there is no ready script for this task, you will have to roll up the sleeves on this.

Take a look at the script /usr/bin/knoppix-flash, that will give you some idea what are the steps involved.