This sounds like a good idea in theory, but there is pretty much a infinite numbers of ways to get around a "auto AFK kicker system". so the same people who never log out currently will never logout with the proposed system.

Also like Cyanide mentioned, there is more to it all, then to many people logged in to any given server.