Absolutely! Provided that the investor is an "arms length" buyer, not related, current tenant, close buddy, etc...You will be required to sign an arms length transaction affidavit.
Once the property is sold the bank doesn't care what he/she does with the property as long as the comply with the loan terms.
Have you already put your house on the market for a short sale? If so, talk to your Realtor or attorney.