Whether this can or cannot be solved depends on what you are wiling to accept as answer- what functions you have available.
I would start by focusing on what is important. Since D appears in the denominator of two different fractions, let x= 1/D. The equation can be written as \(\displaystyle (BCx- BEF)e^{-Hx}= A\). Let y= BCx- BEF so x= (y- BEF)/BC and the equation is \(\displaystyle ye^{-Hy}e^{HEF/C}= a\) and then \(\displaystyle ye^{-Hy}= Ae^{HEF/C}\). Finally, let z= -Hy so that \(\displaystyle -ze^z/H= Ae^{HEF/C}\) so \(\displaystyle ze^z= -AH e^{HEF/C}\).
Now we turn to "Lambert's W function", W(x), also called "omega function" or "log product function". It is defined as the inverse function to \(\displaystyle f(x)= xe^x\). Using that, we get \(\displaystyle z= W(-AH e^{HEF/C}\).
Now go back. z= -Hy so \(\displaystyle y= -z/H= -W(-AHe^{HEF/C})/H\). \(\displaystyle y= BCx- BEF\) so \(\displaystyle BCX- BEF= -W(-AHe^{HEF/C})/H. BCx= BEF- W(-AHe^{HEF/C})/H\). \(\displaystyle x= EFC- W(-AHe^{HEF/C})/BCH\). Finally, x= 1/D so D= 1/x.