Yes, you can reset your iPhone to wipe it completely, however, none of your information will be saved on the phone and you will need to ensure that you have backed it up beforehand.