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.
Live your best life in Thailand. Get help with Visas, accomodation, itineraties, retirement, dating and anything else in Thailand.