Yes, you can edit your distance in SA, but i don’t think this edit will transfer over to strava.
If you have a Concept2 Machine then you could use their logbook to connect to strava that way it transfers the correct distance and a few other data points time/500m etc.
If you do other sports which transfer to strava via SA and you decide to use the concept2 logbook to transfer your erg session, you will have to simply delete the transferred SA workout in strava which will be a duplicate of the concept2 session.
Hope that make sense
Edit: I should add I have the S9 but I would imagine the same data is editable in SA for the S5 Watches