Can you substitute nutmeg for cloves?

yes but it won't taste the same Allspice would be a better alternative than nutmeg as it has a flavor that tastes like a mixture of cinnamon, cloves, and nutmeg.