OR EASIER get a single entry tourist visa good for 3 months with an extension. or a METV for up to almost 9 months. or get a single entry visa for three months then border bounce for two more months with visa exemption with extension, or get another single entry at a thai embassy in lao/cambodia/malaysia
unfortunately, that will be up to the immigration office or reviewing your application. From what I’ve heard if you do half of the year in Thailand and half of the year away, there’s never an issue.