Yes and no. Depending on the outcome of the buyers home inspection, the buyer may request that certain issues are replaced (or simply to lower the price for needed repairs). The seller may decline outright, but there is a risk of the buyer walking away from the contract.
In other cases, if the buyer is using FHA or VA financing to purchase the home, the lender may require certain repairs prior to lending money for purchase. These repairs may include securing electrical wires, installing railings near stairs, pealing paint, broken windows, severely deteriorated roof etc… In order for the buyer to obtain financing, the seller has to seriously consider making the repairs as the bank will not lend funds to the buyer otherwise.