Some hurdles for an Ecoboost swap (ignoring the electrical stuff for the moment):
The high pressure fuel pump and vacuum pump sit off the back of the cylinder head on the Ecoboost 4 bangers in longitudinal layout. Your firewall will have to be modified to clear those components.
The Ecoboost engines don't have a power steering pump. Since they're so similar to the Duratec, there's a chance that the provisions for mounting a Duratec power steering pump to the Ecoboost cylinder head are still there, but I haven't been able to see one up close to know for sure. If it's not easy to use a Dtec pump, then you're stuck converting to manual steering, or some electric steering setup from another vehicle.
A Mustang (or possibly 2019+ Ranger) intake manifold would be better options than anything that came out of a vehicle with transverse engine layout as the throttle body would point straight down into the drivers frame rail and the steering shaft lives there too.
The turbo and it's intake/exhaust piping take up a lot of real estate on the passenger side where the upper spring pocket in the frame and HVAC plenum reside. Be ready to modify. The turbos that I've seen for the longitudinal ecoboosts look like better options than any transverse turbo as the inlets are in different locations. Still probably tight on space, but they'd be better.
There's enough extra stuff to tackle, not to mention the costly control pack for DI, that I think it's way, way easier to just boost the Duratec that the truck already has. It's just turbo stuff, bigger injectors, maybe a larger MAF, and a common $400 OBD tune. You keep the current power steering, HVAC stuff, stock firewall, etc and get 90% or more of the Ecoboost gains. The hard part is figuring out where to put the turbo, and fabbing a custom manifold if the turbo is going in the engine bay. Remote turbo has been done successfully on a Duratec Ranger too.