Yes, you should flush your tankless water heater every year.
The real culprit is often the plumbing run itself, not the water heater.