I've never heard of any Thai needing to ask the Thai government for permission to leave the country. I've even witnessed Thai people leave the country without any such permission.
Perhaps it's an urban myth in some parts of the world, or perhaps it's only applicable to political prisoners or certain activists.