The answer is sort of. As dating the Bible goes, Ezekiel is by far the easiest book to use since he provides a date, sometimes down to the day, for each of his prophecies. Specifically, he measured the years in terms of how long King Jehoiachin (and therefore Ezekiel himself) had been in exile in Babylon. Since most of the ancient Near East celebrated their new year in the Spring or Autumn, their years straddle two of ours. The opening lines of Ezekiel set the stage:
In my thirtieth year, in the fourth month, on the fifth day of the month, as I was among the exiles by the river Chebar, the heavens were opened, and I saw visions of God. 2 On the fifth day of the month (it was the fifth year of the exile of King Jehoiachin), 3 the word of the Lord came to the priest Ezekiel son of Buzi, in the land of the Chaldeans by the river Chebar; and the hand of the Lord was on him there. (Ez 1:1-3 NRSV)
Comparing Ezekiel's dates the Babylonian records like the Babylonian Chronicle, and further comparing to other dates and astrological events, we can set "the fifth year of the exile of King Jehoiachin" at 593/592 BCE.
So when we skip ahead to Ezekiel 26 we know the prophecy is dated to 587/586 because it says:
In the eleventh year, on the first day of the month, the word of the Lord came to me: 2 Mortal, because Tyre said concerning Jerusalem, “Aha, broken is the gateway of the peoples; it has swung open to me; I shall be replenished, know that it is wasted,” 3 therefore, thus says the Lord God: See, I am against you, O Tyre! I will hurl many nations against you, as the sea hurls its waves.(Ez 26:1-3 NRSV)
Ezekiel's prophecies are also the main source for the Babylonian conflict with Tyre, but there is a cuneiform tablet referencing it as well, so we can say with confidence that the siege did happen at some point. Of course, the siege didn't work out, but the primary source for that is also Ezekiel!
Chapters 26-28 are all about condemning Tyre and cover many years, but chapter 29 shifts to a prophecy against Egypt. It also happens to contain this passage:
In the twenty-seventh year, in the first month, on the first day of the month, the word of the Lord came to me: 18 Mortal, King Nebuchadrezzar of Babylon made his army labor hard against Tyre; every head was made bald and every shoulder was rubbed bare; yet neither he nor his army got anything from Tyre to pay for the labor that he had expended against it. 19 Therefore thus says the Lord God: I will give the land of Egypt to King Nebuchadrezzar of Babylon; and he shall carry off its wealth and despoil it and plunder it; and it shall be the wages for his army. 20 I have given him the land of Egypt as his payment for which he labored, because they worked for me, says the Lord God. (Ez 29: 17-20 NRSV)
In 571/570 Ezekiel's prophesying shifts to declaring that Nebuchadnezzar either could not take Tyre or at best won a temporary, Pyrrhic victory. According to Ezekiel, God would compensate this with the conquest of Egypt. In terms of your original question, this means that Ezekiel thought that Nebuchadnezzar would conquer Tyre, but was also still prophesying and writing after that failed.
Predicting the fall of Tyre when the siege started was not out of line with political reality, but the island city state of Tyre resisted the most powerful empire of the day for years. Ezekiel's prophesying changed to accept and incorporate the new political reality in 571.
The prophesy in Ezekiel 29:17 is also a strong indicator that the dates in Ezekiel genuinely reflect the dates that Ezekiel produced the prophecy in question. 571 was just after the 13 year Siege of Tyre ended and Babylonian focus turned to Egypt. It's also chronologically the last prophecy in Ezekiel. Ezekiel did not record any prophecies beyond the 27th year in Exile, and given that he would have been 52 at the time it's thought he probably died around that time.
Ezekiel's death c. 570 BCE would mean that he never saw his final prediction fail too. We do have a Babylonian record from 569/568 BCE that describes a campaign against Egypt. In the thirty seventh year under Nebuchadnezzar II, the Babylonian army assembled and marched against Pharaoh Ahmose II/Amasis in Egypt. They reached the town of Putu-Iamman somewhere in the Delta but were repulsed.
Ezekiel's prophecies about Babylon marching against other peoples in the region are conveniently dated, and those dates make it clear that the prophecies were produced at times when Babylon was at conflict with those other peoples. In some of those prophecies, such as Babylon marching against Judea, he was right. In others, like the Siege of Tyre, the initial prophecy proved incorrect and had to be corrected. He just did not live to see that last prediction play out.