I need help for solving the following equation: $$L(t) = \int_0^t L(t) \, P\cdot\frac{(1+e^{-L(t)})^2}{4e^{-L(t)}} \, \mathrm{d}t, \quad $L(0)=C $$
By splitting it up in the form $$\frac{dL(t)}{\frac{4e^{-L(t)}}{(1+e^{-L(t)})^2}} = P \, \mathrm{d}t$$
I obtained: $$ P \, t=1/2 \left(L(t) + \sinh(L(t)) \,\cosh(L(t)\right)+ \operatorname{constant} $$
but I'm not sure if this is OK and I need it as a function of just $L(t)=\ldots$, is this possible at all?
I think you have a wrong expression for $L'(t)$. Your ODE for $L$ should be
$$ L'(t) = \frac{P}{4} \frac{\left(1+e^{-L(t)}\right)^2}{e^{-L(t)}}, \quad L(0) = C$$
Mathematica gives the solution to this problem as
$$ L(t) = \log \left(\frac{1}{\frac{1}{e^C+1}-\frac{P t}{4}}-1\right) $$