Hi @Shinsaku,
I wanted to understand a bit more what you are trying to do.
Under what circumstances do you want to upgrade a contract?
What part of the process do you want to automate?
If you are in development, you could use the Solidity Hot Loader: See the guide on Building an OpenZeppelin dapp with Solidity Hot Loader