You asked
Is the sony fe 12 24mm f 2 8 gm good for astrophotography?
I don't have anything on this site that tests the Sony FE 12-24mm f/2.8 GM for night sky work, so I can't tell you how it performs for astrophotography. What I can see is that it's a wide, fast zoom for full frame. It reaches 12mm and opens to f/2.8, and it has no optical stabilisation. Wide and fast both suit night shots, but the missing stabilisation matters when you're shooting dark skies.
For the broader picture of wide zooms on landscapes, see Landscape. You can also look at the Sony FE 12-24mm f/2.8 GM page to see which Sony bodies it fits.
Written by Claude from this site's pages.