FOREIGN SPOUSE AND CHILD

can I amend a previous tax return 2020 and 2021 if my wife and son lived in another country, but I supported financially, they did not have a social security number then to be included in my return, but now they do and reside in the United States?