predictor and instrument in IV

I have data about a certain trait X for a small sample of countries and I'm interested in the relationship of X on income per capita Y. I also have a strong predictor Z of X. I have data of Z for a large number of countries so I used it to predict X for all the countries then I regressed Y on the predicted values X-hat.
Can I also use Z as an instrument for X-hat in an IV regression of Y on X-hat?