Post all-cash purchase loan?

Hi. I have a hypothetical that might not end up being hypothetical: I pay for a house in cash, but a portion of the money comes from retirement accounts. The withdrawal of that money will incur some very heavy taxes. However, it is possible to repay the money back to the retirement account within sixty days without incurring that penalty. Do any banks loan money (say $150,000) with standard mortgage conditions (payment period, interest rate) in such a situation? Thanks.