No, there is no such thing as a legal RuneScape bot. Automation and botting break the game's rules and can result in your account being banned.
While cheat codes in some games are harmless, RuneScape specifically prohibits third-party bots, so using one puts your account at real risk. It is far better to play legitimately.