I did, over 10 years ago. I was in my late teens and I felt trapped. After my parents found the N2 tube and I had to confess, it seemed like things could change for the better, i got some hope, and I abandoned the idea. In this decade+ that followed, there have been some kinda-happy moments and kinda-happy years even, when it seemed like everything might turn out well somehow. But since March of 2015 it's all gone downhill. I aged, chances were missed, bridges were burnt. And now I come to regret not pulling through back then. But of course I wouldn't tell people not to try, not to give themselves a second chance. It could work.
Also, I would say I wasn't truly depressed back then, nor am I now. It's just loss of hope and feeling defeated, and the desire for ctb'ing comes from sober considerations, not from a depressive impulse. So maybe if you're just depressed and the will to suicide is a sympthom thereof, getting treatment may help.
Addendum: a mere month after giving up on ctb'ing then, I was excited and hopeful again. It didn't take a long time.
But in the end it didn't work out either.