Where can I find the documentation to make my own tools? Can I buy this from BMW?
There is no documentation, the ECU's are RSA protected.
Whole reading and writing is possible because someone found a security hole and made an exploit to abuse it.
The chance of you making your own tools if you need to even ask about this is 0.