Ya you can corrupt the firmware which in this case is the OS but the iphone has DFU mode and restore mode. DFU mode is great becuase it allows you to boot right into the ROM so you can reflash whatever you need to since it does not load the OS at all and is not the same as the old restore mode which still relied on iTunes and could be interupted.