Something tells me if you have to do FORScan programming for changing from factory Halogen to factory LED headlights that you're gonna need more than an engine wiring harness...
Considering the first 3.0L Diesel F150 was a late 2018 model year, the ECM in your 2017 F150 wouldn't even be at a level to support a 3.0L Diesel (if such a change could even be done via FORScan programming and I would be willing to bet it's not) I'm not a Ford engineer but I don't see how this could be done w/o an ECM flash at a minimum, and who knows what you would need beyond that...
F150 Diesels have two (2) fuel filters + a water separator, so you gonna need the whole setup including the fuel lines which I am betting are different due to the two fuel filters.
As many of us are going thru Round #2 of the EGR By-Pass Valve replacement, what would be for your plans for the EGR Cooler assembly? Block it off?
Does your 2017 3.5 Ecoboost have a CAC (Charge Air Cooler) with damper vents? Take a look here what could happen without one: F-150 Diesel Engine and Bullbar interference
2017 was first year for 10-speed transmission and I don't see a bolt-on bell-housing on the transmission, so you are probably OK there in terms of hardware, but no idea if something like the torque converter is different and keeping with above I gotta believe you'd need a TCM flash for a different transmission tune for the 3.0L V6 Diesel.
You talk about deleting in terms of DPF and SCR but muffler and tailpipe is also different = my tailpipe had to be replaced post-delivery after I noticed what was a 2" rusted scratch in what I thought was the removable chrome tip, only to find out that the entire tail pipe assembly needed to be changed out because they chromed just the end of the pipe (all welded)
Just guessing at what your roadblocks might be, so please don't take anything I say as gospel!
BTW - welcome to the forums here with your first post!