Yes, as long as the dress fits the occasion and the dress code, it is perfectly fine to wear a dress again.