Calculate Gravity From Star Twinkle?

I wonder. Would it be possible to calculate the gravity from how the stars twinkle. Made a 3D visualization in Blender.