Yep. Connect via USB, start iTunes, and then hold both the Power and Home buttons for 10 seconds (time it). Once the 10 seconds are up, release Power and continue to hold Home. After 5-15 seconds, iTunes will prompt to restore and will give you 8.1.
You will lose everything on the phone.