Hi Islam,
Unfortunately no, I haven’t found a specific solution for this. If you want to find a bit more information about the algorithm of DSM generation then you can look at this post: Cosmo SkyMed coregistration with SNAP - #2 by ABraun
Here I also made some questions to one of the guys that seems to know more about it and he shared some documentation depending on the satellite product. You will find more information there.
BR,
Hugo