Yes, but it‘s not as trivial as you might think. Let me just advise you to focus on stability instead of implementing gimmicks like these or any other antiban for that matter. Chances are those will just generate patterns over time making your bot more detectable.