Full low-level backup and restore
Yes, it's possible. You can restore all partitions grabbed by dd like this:

fastboot -w flashall


Or write separate partitions by

fastboot flash boot

fastboot flash recovery

fastboot flash userdata


Prior to that your should put your partitions to the same directory where you run fastboot. Separate partitions can be obtained by simple unpack of the image got from your dd command.