Can it bolt up, yeah but it's not that simple.
Series 3 motors have a different LIM, different PCV system and different throttle body. You'd need a series 2 LIM, throttle body adapater plate and other smaller things.
Why does the 04 car need a S/C rebuild? Are they sure it's not just the coupler than went bad and it sounds like rocks in a bucket at idle.