if it works for you, then why not?
my pdoc asks me not to drink more than 4-6 cups of coffee/caffeinated tea each day. he knows it's probably the only thing that will get me out of bed on some days, so he's happy i've found something that works.
but caffeine is also linked to anxiety, and a lot of ppl with depression have anxiety issues also - so it's something to bear in mind if that is a problem for you.