I'd say most likely and probably for the same reasons they nuked the Japanese, to cut on military losses and to end the war quickly.
Something interesting I read though which is interesting. Having read the previous chapter of 'A Short History Of Nearly Everything', it reads that neutrons of an atom weren't discovered until 1932, something instrumental into the development of an atomic bomb. The discoverer James Chadwick notes that had they been discovered earlier, it is 'very likely the atomic bomb would have been developed first in Europe, undoubtedly by the Germans.'
Nazi's with nukes. Scary.