Yes, but it depends on what you are botting, what script you use etc.
ATM I'm collecting planks on a two f2p accounts, it's been 8hours without any breaks and they are still not banned, also ran 5 gold ring accounts for 4 hours and they are still not banned. Few days ago i made 4 p2p accounts did some quests to get hp, magic levels etc, all of them got banned after 4 hours. At the end it really depends on your luck/botting style/scripts you use/what time you bot. You have to experiment with those things IMO.
Good luck botting.