As a smoker, I understand your position.
When I came to Thailand almost 15 years ago to assess retirement options - live which city/town, which part thereof, and rent or buy house/apartment/condo, etc. - the majority of expats I spoke with advised renting, and provided reasons why; with problematic neighbours being the main "issue".
In a country where laws, regulations and rules are all too often not enforced or enforceable, even in "gated communities", renting is an advisable option. Thus, if you are subjected to very annoying neighbours, who are not going to change their behaviour, and do not care about others, you are free to seek alternative accommodation.
Good luck.