Under certain circumstances, there's a cooling off period when you can cancel an agreemewnt but you would need to be 100% certian that this applied before counting on it. Whether there's a cooling off period or not depends on the product, how and where it is sold. You can also ask for written details of paying a loan off early.
In my view, unless you can get an overdraft facility (or a credit card advance), a loan with a low (or no) early repayment penalty would be ideal. Some loans are expensive to pay off early so you'd need to shop around.