Yes. For example, if you decide to sell your existing home first before buying another one, you can make the sale of your home contingent on finding a replacement home.
Some sellers opt for this contingency to avoid a double move, such as moving to a hotel or rental until a new home is found and made available.
However, there is one problem with this type of contingency: It can inconvenience the buyer, particularly if his/her own home is in escrow. He/she may not be willing to wait for you to move.
This strategy has a better chance of working when the market is relatively strong, your home is a rare find, the price and terms of the transaction are very favorable for the buyer, or the buyer is in no hurry to move.