Boric acid and borax are probably carcinogenic and quite certainly teratogenic = dangerous for embryos. Nowadays cleaning products contain safer and more environment-friendly antiscalants/water softeners such as polycarboxylates, EDDG, EDDM, EDDS, EDG, GLDA, IDS, MGDA, NTA, or polyaspartic acid. ‘Older’ ones contain phosphates or phosphonates, of which mostly the former are responsible for eutrophication. Newer but ‘environment-ignorant’ products (they are poorly biodegradable) contain EDTA, DTPA, HEEDTA, or EDDHA, though these are fortunately increasingly less often used.
I know that in many less developed/regulated countries such as Brazil, borax is still a very common additive used for household laundry and what not. The main issue in Europe/USA of borax which lead to its banning aren’t health concerns but it’s the excessive industrial use (which includes laundry detergents).
Borax and boric acid are equal in everything as soon as you adjust pH. Only concentrated boric acid is, obviously, an acid and hence caustic. They are still allowed in certain products usually at low levels for example as preservative in artificial eye-drops.
My personal and professional advice: Don’t use it.