Yes, you can! All it takes is tapping through the settings until you see the option to wipe and reset the iPhone. Further details are given in the post above.