Not impossible but it's not as easy as dedicated GNSS satellites. The ranging codes in a GNSS signal are what makes it easy to find your distance from the transmitter. Starlink doesn't have that, there are some observables you could use but it's not simple.
https://navi.ion.org/content/72/1/navi.685