Yes you can do that.For this first turnoff the usb debugging option in developer option.Then turnoff the developer option above and you will see that there is no developer option in the system menu of your settings as it gets hidden.After that restart your smartphone.When it gets on,again go to the settings,go to About Phone option click on "build no."7 times then click on ok and go to system menu and you will find developer option resetted.Now you can use usb debugging option anyways.But be careful now never tap or enable "revoke usb debugging authorisation" option.Thankyou.