No. You clear immigration at Suvarnabhumi, but it's quick. You don't go through the general immigration hall, instead you follow the signs for domestic transfer (The sign lists the various destinations including Hat Yai), there are immigration desks there once past immigration you go through a security baggage check and then upstairs to Domestic Departures.