Yes, It does seem that in Kerala where most foods are made with coconut oil, life expectancy is higher than most other Indian states. May be cause of the unpolished riced used there as well.
Kerala also has significantly higher literacy rates than the rest of India. It seems like a state that is overall an outlier, so I suspect there are far too many confounding factors to confidently determine whether the diet is the root cause of a higher life expectancy.
There's a bit of "the dose makes the poison" at play here as well: Cooking with coconut oil is one thing. Making bulletproof coffee with 2-3 tbsp of coconut oil per serving is quite another.