Yes and no. Dermatologists are trained to identify and treat several skin conditions, including sunburns. However, a sunburn is not an established diagnosis or treatment plan, so a visit to a dermatologist may be outside of their specialization.