DON'T, you'll break your smartphone unless you can make sure it won't get too hot.
Will it be possible to run it in the first place by the way?
Why shouldn't it? Apart from the question of whether it's wise to have a smartphone work 24/7, modern smartphones are pretty capable these days as pointed out by Farul.