There is no issue with borax as laundry soap etc.
But one should either test their regular box of Borax or only buy USP grade for internal use. Borax is a mined mineral and like Epsom Salt should be USP grade for internal use due to possible impurities.
I wrote about this before in an old post about Boron.