As John says, you have to make sure it doesn't get anaerobic, which can happen when lots of wet leaves stick together.
What I do is to use my bagging
lawn mower as a leaf collection device, and in the process it sucks up twigs, small sticks, acorns, sand and dirt, and other things that act as spacers that keep leaves from sticking together when wet. It also shreds the leaves to a smaller size, and when I empty the bag on the
hugelkultur I am building, it's excellent soil building material.