軽くぐぐった程度だとこのくらい

https://answers.unity.com/questions/1155508/move-sprite-pivot-dynamically-via-c-script.html