No. Nutmeg is a different spice with a very similar flavor profile to cloves.  In the right amount, it will give your pie a slightly more complex and mature flavor, but it won't taste just like pulling a clove out of a jar.  It's best to use cloves if you want the flavor to be authentic.