I can't see why not. The only problem I can see is when underwriting asks for a copy of the earnest deposit funds. Usually ,you would provide a copy of the cashed check. So, speak with your loan office and ask them how it should be written in a sales contract so it won't set off any red flags, and if it is even possible...Please let us know how you make out.
Good luck, and be well,