Yes, recovery is absolutely possible, and there is a well-documented pattern behind it: handling a failure well often creates more loyalty than a flawless experience would have, sometimes called the service recovery paradox.
But the window is real and it favors speed. First impressions act as an anchor, and every hour a problem festers, subsequent events get interpreted through that negative lens. Recovery works when the response is quick, when someone takes visible ownership rather than deflecting, and when the fix overshoots slightly, doing a bit more than merely repairing the fault.
From the newcomer's own side there is a lesson too: judgments formed while tired, lost or frustrated are the least reliable ones we make, and places, workplaces and even cities routinely improve on acquaintance. Most long-term expats can name somewhere that received them badly and later became home. Worth holding first verdicts loosely, in both directions.