It depends if head of EFI engine is same or not.
For example a toyota early 4af and 5af came with carburetor. You can swap the head and make it 4afe or 5afe means efi. Or not even that just install the efi manifold and fuel rail your good to go.
I had done such conversion.