You can't keep from going AFK without calling those protected commands like /cast or the movement APIs. Unfortunately, you can't delay those types of commands; they require hardware events.
The /in command or any other timing addon will not keep you from automatically going AFK.