There was a discussion about this prior to the implementation of achievements.
At the time I felt, and still feel, that being able to get achievements from custom games makes cheating too easy - or even accidental - and reduces the value of the achievements.
I still think that achievements should be main game/dark matter mode only. Alex and Rudolf and several others disagreed, though, so this is the way it was done.