Once you get in a random and your bot messes up/stops, JaGeX will see your account's playing history... so yes, you can get banned in that situation.
But thats litteraly 4/5 players on runescape are botters. 99.9% are botting in obvious places.. i was in the wilderness cutting trees off to the side where noone in there right mind would go on f2p x.x why would they care?
I would say no if you are in a place by yourself. No one is there to report you. It's not like JaGeX random check every player.

