Do you mean diatomaceous earth?
Borax and diatomaceous earth are not the same, but yes, they have the same principal purpose as a mechanical pesticide.