The only concern I would have is, it would have to detect the reorgs from your node and not remote, or hash rate could be potentially manipulated in an attack. For the same reason, what criteria you could use to start and stop a miner would have to be carefully thought out. Automating adding and removing hash power to the network and normalizing it could cause secondary effects that would not be desirable if the feedback loops are not clearly understood.
Discussion
Using your own node is the whole idea. Right now I'm using cake wallets node because apparently it's a little bit broken at the moment and only takes HTTPS nodes and my local node doesn't have an SSL cert...
Actually, I need to find out for certain because that might be a lie. I might have it on auto-detect and not completely off. I know I generated one for it.
Okay, I either don't have the SSL certificate enabled on my node, or it's not wanting to connect to a local IP address, or it might be because it's not connecting to the restricted RPC port on 18089. I'm not totally sure yet. The app will also need options for entering a SOCKS5 proxy so that you can use a Tor hidden service node, which is the way I primarily run my node.