Is it too immersion-breaking if I invent a close planet?

In my no FTL world, I want to invent a habitable alien planet around 5 light years away. I don’t want to make any planet that’s several decades away because that wouldn’t work with the story. If it isn’t too immersion breaking, is there a plausible reason why the planet wasn’t discovered until the 22nd century? Like maybe hidden behind dust? Or would I be better off using an existing planet like proxima b and extrapolating?