Yes, God is capable of healing anything. It's why miracle do exist. But also God isn't stupid when he allowed for the invention of drugs. Who God will help, also helps themselves. If you're depressed, seek for medical attention and not only going close to God.