This is called bridging finance. It can get a little expensive but is possible if you have enough equity in your current home. Generally, if the total of your current mortgage + the new purchase = less than 80% of both properties it is achievable. You would need to commit to selling your current property within 6 months.
For more information on bridging finance, read our article here.