I love drugs and I think coke is definitely worth it to try for the right person, but if you are attempting to replace marijuana with it, or to treat depression and anxiety with it, I find it a bit... silly... as someone who has seen many a coke binge.
Coke has a very short duration and is very expensive. People that do cocaine regularly will re-dose several times throughout a period of use. Cocaine produces acute euphoria and WILL make you feel like shit while you are coming down. You WILL feel very anxious and crave more cocaine, I literally don't care who you are or if you don't even like stimulants, that's just how it works with short acting, fast onset stimulants like cocaine and crack - you WILL feel dysphoric.
Coke is not something I have found helpful for general depression, and I have ALWYAS found that cocaine drastically increases my anxiety both during the high and during the come down. Despite the increase in anxiety, cocaine also makes one feel incredibly confident (most people anyway), so in that regard, it could help with anxiety. Physiologically however, you will experience many systems which cause or exacerbate anxiety: jaw clenching, sweating, fast heart rate, etc.
It's not something you do and chill and feel a little better. It's something you binge on for a night, you'll do it all night, maybe get paranoid, maybe go on long rants talking to people, re-dose, come down feel like shit, re-dose, come down feel like shit, re-dose, clench your jaw all night. It is very important to have something for the comedown so you don't feel like you want to die. Benzos are popular, but as a fellow weed lover, I have genuinely found weed to be enough for me personally to ease a coke come-down.
It is not sustainable enough to be something to do regularly, and if you do manage it, it's not going to help with depression or anxiety. You may fall in love with the feeling itself, but it's not like weed, there are significant repercussions to feeling that way. May still be worth it for you to try, but just don't expect it to become a depression/anxiety bandaid, at least not for a sustainable period of time. If you have any questions about coke, let me know, please, give me an excuse to talk about drugs!
Edit: just want to be clear, I think I have a negative bias towards coke a bit because I have a lot of anxiety already and I used to IV it, not snort it. IV coke is a very different experience more similar to smoking crack than to snorting coke, while the highs are higher with IV, the lows come on much harder and faster, so I think I need to acknowledge that everybody else seems to have a much better opinion of coke than I do. And you might have a great experience with it.