Yes, absolutely. It’s called integrity. I just bought a house, probably at a loss, at the top of the market, and could have backed out because the economic situation is no longer looking as great. I could have easily used a BS contingency to get out of the contract. However, I made a handshake agreement and asked someone to upend their life for me.
My own code of ethics is to do what I say I will. Maybe it’s not the most game theory thing to do but at least I can sleep at night knowing I was an honest person. There are things in life more important than money.