Just flashing the system and boot images does not wipe your device. However, you need to have your bootloader unlocked. If it isn't, unlocking the bootloader does wipe your device. As always, I strongly recommend you back up your device, off the device, before doing anything. Stuff happens sometimes and better safe than sorry.