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.

 

https://youtu.be/tR2Tag1doG4