Potentially, yes.
This can sometimes be done with bridging finance or a carefully managed sale-and-purchase strategy. It can be helpful if you find the right property before selling, but you need to understand the repayments, timing and risks if your current home takes longer to sell.