Can anxiety or depression make you clean too much?

I’ve been cleaning since 1am and now it’s 8am. I’ve barely taken a break at all and my feet hurt so now I’m sitting on the floor and cleaning the chair legs. I’ve been cleaning 4-6 hours daily in the last week and both my depression and anxiety have been extremely bad lately.