After you file

So if our kids always had social security numbers and i get my wife an itin this year then can I file jointly and claim child tax credits for 2020-2022 once we have the itin?