It is doable, yes. The problem however is that after a kernel panic you need a hard reset to get to boot again, and this may corrupt the memory of the device. I am not sure how the poweroff on N9 works, though, it may even retain voltages to the memory chip? If the voltage is cut it depends on the memory device on how long the old state is held in the device. I remember doing some experiments with Commodore 64 when that device was state of the art; I had a picture in memory, and when I power-cycled it and redrew the memorymap after the device came back to life it was pretty much still there. To completely get rid of the drawing, so that it was not recognizable any longer took a power cut of maybe 30 seconds! On those days memory cells were however at least 3 orders of magnitude larger, which may affect your mileage