If the price is right, it can be worth it as long as the size is close. youYou can get a short stem to reduce the reach if needed, and as long as you can pedal comfortably, the size might be close enough.
thatThat said, there are a lot of bikes out there, so if you're on the edge, don't force it. anotherAnother bike will be available in the right size before too long.