Based on the threads you referred me to I gather the answer is no - the only way to group layers in the TOC is through the ArcMap document. Does this mean that layers that require caching cannot be grouped in the TOC since the cache would be generated for all the layers in the service (making it impossible to toggle specific layers on / off)??