I came across a real estate investing program called cash-on-closing. Does anyone have any information on how this opportunity could work?

Buy dilapidated properties for 50 cents on the dollar, put 20 cents of work into them (financed, so you get more than the sales price but it’s earmarked for rehab costs) and sell. Search for “rehab lender” and your locale at google. Another “cash back at closing” situation is where earnest money is put down, and the costs that the buyer (you) are responsible for does not reach that earnest money amount and the difference is refunded back to you at close, thus cash back at closing.