Yes. When you receive an offer on your property, you can reject, accept, or counter any offer that is presented. Most offers include contingencies, which protect the buyer in case something goes wrong.
The two most common contingencies deal with financing, which makes the sale dependent on the buyer’s ability to obtain a loan commitment from a lender within a stated time period. And secondly, inspections, which allows the buyer to have a professional(s) inspect the property to help identify any surprises.
There really is no reason not to consider these contingencies because they are quite reasonable and standard.
However, think twice about a contingency that is predicated on you making expensive home repairs. Now, if the roof is caving in, that is probably a different story. You may need to spend money to replace it or lower the asking price of the home.
Also give serious consideration to a offer that contains a contingency on the buyer first selling their home, especially if your sale is time sensitive or if that market is changing.