When wholesale flipping

Can I assign the contract before I take it to a title company? I have an investor who wants to take over the contract tomorrow afternoon and I am signing the contract tomorrow morning. Is this possible?