Yes.
Lots of retirees live in Chiang Mai.
Believe it or not, some people don't really like the beaches. They prefer the mountains and a more nature and jungle environment.
Because of that Chiang Mai is popular as a retirement destination for those kinds of folks.