At a minimum you need the correct block and correct crankshaft. Some have made adapters where the crankshaft length and diameter were not ideal. Making a custom engine plate is likely not practical due to the fact that the additional plate takes away from the projected length of the crankshaft. Making a whole new adapter place is possible but for what it will cost plus the cost of the used engine, you might as well upgrade.
If it were my tractor, I would upgrade to a twin cylinder engine of 16-25 hp capacity. When I have bought tractors with Kohler 12hp engines on them, they all had serious wear issues. Rather than spending $300-$400 on rebuilding the 12 hp, I upgraded to a 16.5-24 hp engine. Because those engines are not taxed at 100% load and have oil pumps, they should outlast me. The cost for replacing those 12 hp engines varied from $100 to about twice the cost of a rebuild. It all depends on how much the replacement engine costs plus the cost of engine accessories like exhaust system, muffler guards, tools needed, etc.