Yes it can. Do you have a nand backup ? Meaning did you make a backup in recovery before you did anything. are you going with a custom rom or a stock rom? either way the method is the same. download the rom you are going to use, Copy it to your adb/fastboot folder. what i do is rename the zip to something easy to remember and type, like "rom.zip" enter recovery on the phone and find sideload from the recovery menu.once you swipe to enter sideload open a cmd prompt from the adb folder that contains the rom.zip. i always enter this cmd first to make sure adb see's the phone
"adb devices" you should a return like the one in the pic i attached. then enter this cmd "adb sideload rom.zip" you should see it loading by a % percentage and when it hits 100% it will flash the zip automatically and when done reboot the phone.
Oh and if adb doesnt show you device attached. Alt,Ctrl, delete and in task manager go to processes and shut down adb and start a new cmd promt
C:\Users\Bill\Desktop\adb>adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
HT53MSV13538 device
C:\Users\Bill\Desktop\adb>adb sideload rom.zip