Simplistic Script for a simplistic matter:
Select the icon you want to correct (here, I just want to modify the "Décalage sur Y" (in french) :

and play this Script:
var myDoc = app.activeDocument;
// Select An Icon With The Right Inline AnchorYoffset You Want:
var mySel = app.selection[0];
// Various Checks:
var mySelInline = mySel.anchoredObjectSettings.anchoredPosition;
var mySelHeight = (mySel.geometricBounds[2]-mySel.geometricBounds[0]).toFixed(10);
var mySelAnchorYOffset = mySel.anchoredObjectSettings.anchorYoffset;
// Loop:
app.findGrepPreferences = app.findChangeGrepOptions = null;
app.findGrepPreferences.findWhat = '~a';
var myFound = myDoc.findGrep();
for ( var i = 0; i < myFound.length; i++ ) if ( (myFound[i].pageItems[0].anchoredObjectSettings.anchoredPosition === mySelInline) && ((myFound[i].pageItems[0].geometricBounds[2]-myFound[i].pageItems[0].geometricBounds[0]).toFixed(10) === mySelHeight) ) myFound[i].pageItems[0].anchoredObjectSettings.anchorYoffset = mySelAnchorYOffset;
app.findGrepPreferences = app.findChangeGrepOptions = null;
alert("Done! …")
(^/) The Jedi