You can certainly use Dichlor in your pool to simultaneously add chlorine and raise the CYA level though obviously you can't raise the CYA that quickly since you don't want your FC to get too high. Nevertheless, to use up what you've got by adding it over time is fine. Then if you still need more CYA you can just buy pure CYA from your pool store, as you wrote.