I may be mistaken, as I can’t find the topic where it was stated, but the answer is no. In accordance with the contracts, the game published under COG/HG is not allowed to be published anywhere else. Even if the code is changed from choicescript to something else. Even if the code is removed completely, and the game’s form is changed to classic printable CYOA. Also I doubt that it wold be possible to publish the same story in different form for free, if it’s published under COG/HG with commercial license.
Edit: nvm, here are the answers from COO: