no I’ve had a non-o retirement for 15 years and yes you need to leave to get this visa but some are being issued multi entry tourist visas on soft power
why don’t you do it yourself it’s 1900 baht I doubt you’ll get the whole 5 years out of a cooking class you may have to book new classes for each 180 day stay and you’ll need 500k in the bank
You’ll be stamped in for as long as your insurance is good for when you return you can go to immigration and buy a multi re entry 3800 baht or buy at the airport when leaving