In short, no he did not.
Your second paragraph reminded me that God made a key promise, but only to Abram back in Gen 15:4-6. From the point of that promise, all the way through to Sarah’s pregnancy and Isaac's birth, Abraham and Sarah are in two completely different positions of belief, and Abraham had to find a way to deal with them.
In Gen 15, Abram had told God that since He’d given him no offspring, a servant would be his heir, so the Lord replied.
Gen 15:4-6 NASB
4 Then behold, the word of the LORD came to him, saying, “This man will not be your heir; but one who will come forth from your own [h]body, he shall be your heir.” 5 And He took him outside and said, “Now look toward the heavens, and count the stars, if you are able to count them.” And He said to him, “So shall your [i]descendants be.” 6 Then he believed in the LORD; and He reckoned it to him as righteousness.
Ishmael’s birth is in Gen 16. In Gen 17 God visited the 99-year-old Abram, changed his name to Abraham and set the Covenant of Circumcision. When Abraham prostrated himself, he “laughed” (to himself), but he must still have believed/knew he had a son not yet born. God told him that in Gen 15.
He also knew that A-his wife, Sarah, was in a completely different belief status (e.g. she had not yet laughed out loud after overhearing the 3 visitors say she'd give birth at the age of 90), B-she was going to be the mother of their son, Isaac. God said so.
From the point of God’s promise to Abram through to Sarah’s pregnancy and Isaac’s birth, Abraham needed to stay close to his beliefs and live as calmly as possible with Sarah.
Upon finding Hagar pregnant, the outraged Sarah looked on her with disdain and jealously; she then abused her so much that Hagar ran away (Gen 16:4-6). Hagar would be scared when asked to return. When Sarah ordered Abraham to drive them out, Abraham did so. Casting out/disinheriting servants was expected due to Gen 15:4-6, and due to
Gen 17:21 (NASB)
21 But My covenant I will establish with Isaac, whom Sarah will bear to you at this season next year.”