Yes, you can unroot your device by using apps like SuperSU or by flashing your device's stock firmware.