Hair help

So I have blonde foils in my hair, I naturally have dark brown hair and my regrowth has come through. I want to go back to my natural, would I be able to put brown box dye over my blonde foils? Or would I have to go to the salon?