Yep it is okay to walk. Just make sure it is done before the contingency period expires. You can also make a request for repairs as well. You never know, the lender may say yes but they have to rerun the numbers with the adjustments and get approval. Sometimes it happens and sometimes it does not. My experience is that more often then not it can be challenging.