Yes, it is. According to the Journal of Contemporary Dental Practice research, in 2016, rinsing with coconut oil reduced the amount of plaque-forming bacteria in silvia significantly.
Also, according to Niger Medical Journal research, in 2015, teenagers used coconut oil for mouthwash, and their gingivitis and plaque levels decreased significantly.