It'd be sorta easy-ish to do in theory and get it to run. Just take the carb off. Raise the compression as much as possible. Make a screw-in adaptor to put in injectors in the spark plug holes and route it to an injection pump. The timing would be an issue...you'd need to figure out a way to connect the inj pump to the engine (camshaft, crank, cogged belt, chain/sprocket, something like that).
But it would need to be very low compression for a diesel. It would start like absolute garbage and would have no power. It would basically just spin itself. Any sort of load would cause way too much heat and everything will melt and getting more than a 14-16:1 comp. ratio would cause shit to break (just like running 25 psi from a turbo on a stock gas engine will destroy it). Making it more capable of actually turning something would require a shit load of modifications, and would have the end result of being unreliable as hell (AKA Oldsmobile 4.3/5.7L diesels which were just highly modified small blocks)
Remember a diesel's source of ignition is the heat from the compression of air. High pressure fuel is then introduced to that very hot dense air and it burns.
Direct injection (DI) diesels run at a lower compression ratio, but need very fine-holed injectors. And highly compressed fuel (most modern DI diesels have injection pressures well over 30,000psi). The fuel is injected almost as a vapor. Converting the engine would need to be direct injection. But you'd be very limited on the psi you could run in the fuel system.
Indirect Injection (IDI) diesel's have a pre-combustion chamber built into the head, where the fuel is introduced to the air then burns into the cylinder. They run very high compression ratios (the GM 6.2L and Navistar 7.3L and similar IDI non turbo engines run 22-24:1 ratios).
Doing the opposite is way easier...and a lot more effective. A lot of super-mod methanol pulling tractors run converted diesel engines. And I have heard of a few 6.2 diesels being turned into gas engines.