Is sloth a collective noun for leaves?

No, the collective noun for leaves is a pile of leaves.

The noun sloth is used as a collective noun for a sloth of bears.