I bet it's possible, but you will need a lot of timers.
I join like 15 channels when I start, but that already required a lot of timers.
Imagine all channels on a server
Dunno the answer to your question though, you need a way to retreive all channels currently available on a server....