Anecdotal, but I had a friend who had ECT for their depressive symptoms.

They ended their life a few years afterwards.

So no, ”very often works on depression” is not a characterization I would use.