This topic is coming up again and again. :S
Simply put, yes, you can swap a ca18det into a u12... but start with a ca20e engined vehicle... because its a bolt on procedure. With the KA models, you need to change crossmembers, gearboxes, etc.
For a ca to ca swap, all u need is engine, ecu, loom and thats it. You will need a new exaust made up, and dump pipe. Plus the associated braking hardware as well.