Yes, coconut oil can help in preventing the hair get dry, flaky scalp and dandruff, as well as hair breakage.