The only way I think you could do that would be if, in the amended return, you had designated that return's refund to be applied to your 2021 taxes. Then, in your 2021 return, you would post that amount as part of the amount of estimated taxes and amount applied from the previous year's return. I know I applied a small refund from my original 2020 return to be applied to my 2021 return.
Now, what would happen if, by some strange chance, the IRS processed your 2021 return before your 2020 return? They shouldn't, surely, as there are some ways a later tax return depends on amounts shown in the previous year's return.