Ipm said:
If we can measure the relative time dilation between the different spacetime geometries of the Earth's surface and any given star
You can do this if the Earth and the star are at rest relative to each other; if they are in relative motion, doing this will only be an approximation, and how good an approximation will depend on the relative velocity. As long as you're OK with the approximation, yes, you can compare time dilations and therefore masses this way. For example, I believe the gravitational redshift of light coming from the Sun has been measured, giving an estimate of its mass. (The light from the Sun does blueshift slightly as it "falls" into Earth's gravity well, but that effect is too small to affect the calculation of the Sun's mass--which is another way of saying that the Earth's mass is very small compared to the Sun's.)
But all of this depends on having some common point of reference; for example, the measurement of the Sun's mass by the above method implicitly relies on a hypothetical "point of reference" that is very far away from the Sun and the Earth and all other gravitating bodies, and at rest relative to the Sun and the Earth, to serve as a point of "zero time dilation".
Ipm said:
And if that is possible, then is it not conceivable that someone could attempt to estimate the time dilation related to the expansion of spacetime itself, at different stages of the universe's size/density?
Here there is no common point of reference that we can use, so the method described above does not work.
Ipm said:
This seems a logical question to me, if time is directly related to the space in which you are measuring it (surely that is what general relativity is all about?)?
Not quite. GR is about spacetime, yes, but that's not the same as saying that "time is directly related to the space in which you are measuring it". Spacetime just means that you can't separate space from time, because of the relativity of simultaneity: if I am moving relative to you, then events which happen at the same time for you do not happen at the same time for me. So what to you looks like pure "separation in space", to me looks like a combination of "separation in space" and "separation in time".