Yes, oil pulling with coconut oil is effective in preventing cavities due to the reduced level of pathogenic bacteria in your mouth. However, it is not a replacement for using a brush and floss and it is recommended that you see a dentist from time to time.