CEI is designated an International Airport. Domestic and International passengers are segregated on arrival and there's no problem with clearing immigration there. I did it a couple of weeks ago.
Similarly you can check your bags through from CEI to your overseas destination and clear emigration there on leaving Thailand.