In general, the answer is no. For example, let N(w)=1 , let D(u)=sin(u) , and call P(w)=y ,then your problem is: y*Sin(y)=1 , in this case P(w) will just equal a constant which is about as simple as a function can get, but it can't be found in closed form, which I would call unsolvable.
(p.s...