You can apply for an Elite Visa even if you overstayed in Thailand in the past. However, if your overstay record is during your current stay, then you will need to exit Thailand before being able to affix the Elite Visa to your passport.
"Apiporn was great! So patient and attentive with my many questions and excellent advice. Entering Thailand was a breeze thanks to her kind help! You can’t ask for more."