The issue you'd have with a 50mm is the field of view is too small.
You'd get the stars, or you'd get foreground. I think you'd struggle to get both
It's possible, but not always. I guess that's what you're alluding to.
Several considerations:
Easier with FX than DX as field of view is greater.
Compositions will be limited as the most striking imagery comes from the brightest part of the milky way. For us, that sits on and towards the horizon from late May/ June to about now.
Shutter speed needs to be factored in to minimise star trailing. That's where the wider aperture will be helpful, to allow you to keep exposure durations down.
Depth of field can come into play, depending on scale of and distance to foreground subject.
Actually 35mm, this one, but you can see there's room to crop and mimic a 50mm FoV
Milky Way over Bucklers Hard
50mm but the foreground takes up much of the interesting area of sky
Master Builders House Hotel
50mm again. No milky way in this one but the longer focal length has amplified the perseid meteors- for me the detail in the meteor tails was worth the reduced field of view.
Perseids over St Stephen's
All shot on Sony A7s. If you're using a crop sensor, 35mm gives you about the same field of view as my 50mm.