It’s certainly possible. One of my window sensors got stuck in the opposite state where it reported closed when it was open and open when it was closed. I got it to flip back by quickly opening and closing the window a tiny bit until it missed one close event and got back in sync.
If you can’t adjust the closing motion perfectly you could also try using a more powerful neodymium magnet to expand the magnetic field and perhaps eliminate that transition zone.