Cockroaches need water more than need food. When Termites it the wood, the wood disappears leaving an even less secure structure.
However home owners unknowingly do a whole lot of things that may help the termites to cause even more damage. Boric acid is also helpful against insect. https://Wiki.Insidertoday.org/index.php/User:FrancisVarnum73