The short answer is yes, you could, but it would make you very ill, and you likely won't be able to keep the weight off for long.
Sustainable, healthy weight loss happens with small, gradual changes, not a massive overhaul.
You will get much better results if you look at what eating/drinking habits you could change over time. For example, I have lost 2 stone in 4 months by drinking more water and less fizzy juice, limiting the amount of snacks I eat but not cutting them out completely because it would make me miserable and I would give up and be back to square one.
I make weekly meal plans, too, and have stuck to them. Of course, I have had the odd occasion where I have fancied a pizza instead of a chicken risotto and allowed myself to have it, because the key thing to remember is it matters what you do 90% of the time, the odd pizza or kebab or whatever will not undo all your hard work.
So my advice would be to start small so you don't get overwhelmed and gradually make more changes when you get into the swing of things, and to have the patience of a saint because its a long ass journey unfortunately.