Absolutely, The important thing I want to mention is that it absolutely needs to be in a separate tank from where your rock, sand, and inverts are at. A Quarantine tank is barebottom, and as basic as they come. It has to be that way for treatments to work efficiently. I am not going to lie to you. ALL EFFECTIVE treatments regardless of what they are by design, kill. Treatments are simply kill the simple parasites QUICKER than they do the fish. So, that goes 2 fold. You first want to take the fish away from the things that you don't want to kill. And you want to keep the things that kill away from where you want the live stuff to go. You treat a main system first off, you kill your beneficial bacterium secondly, there is no place for the fish to go after treatment is over. You can try and take the chemicals out with carbon or water changes but alot of chemicals stay in your tank a very long time.
And Quarantine is taken from the french meaning 40 days. That is why the 6 weeks is used.