What you propose is certainly not allowed. As others have noted, there is no sterile transit in the USA, and so you would have to be admitted under the VWP even for an onward international connection. So unless you have a qualifying exception, you would not be allowed onto the LHR-DFW flight under the current restrictions. Why not travel via YYZ instead?