It is possible if you disable security. Not something I am willing to sacrifice. Instead I would recommend the Hub Rebooter app by @dman2306 :
It is a great app.