Yes, coffee grounds are good for leeks as they are rich in nitrogen and other nutrients that leeks need to grow well. However, it is best to mix coffee grounds with soil or compost before using as a fertilizer, as using too much coffee grounds can make the soil too acidic. Additionally, coffee grounds should be used in moderation, as an excess of coffee grounds can lead to an accumulation of salts in the soil.