Is there a mental illness relating to someone who hoards things?

Yes, oddly enough, it's just called "hoarding." I don't know if there is a different term other than pathological hoarding.