There's always a non-zero chance of getting banned. No amount of questing can change that. By creating your own script (or even API), you would drastically lower your chances of getting banned, or at very least, of being permanently banned. You could write an simple AHK script that moves your camera every few minutes and it would have a lower ban rate than a popular script. With that said, I've noticed that less "interactive" tasks tend to have lower ban rates.