Yes, I did. Almost finished my MSc now.
I would strongly advise seeing student support asap though, they are super good there, I pretty much get unlimited extentions on deadlines and ****, which was amazing (wouldn't have had a chance without, tbh).
but yeh, sure. Depression will be harder, but if you are able to mostly focus for an hour or two each day, and are intelligent, no reason why not.