Yes, you can apply compost made with black walnut leaves to your vegetable garden. Transmission of juglone into the soil through the roots is of the greatest concern, so consider the distance between the tree and your vegetable garden. Walnut leaves have the highest juglone content in the spring. Although they still contain this troublesome compound in the fall, it is less.