I have an idea, wondering if anyone has tried this. I spotted this https://www.tailgatefix.com/ and they are just splicing into and interrupting the power to the switch for the center section of the tailgate to prevent it from dropping on your trailer hitch. Why not wire it to an upfitter switch? At present you would have to run wire to the back of the truck to make this work. Unless that same wire could be found in the harness further forward in the truck. This is the install video. The important information starts at 5 minutes into the video.
Thoughts? Comments?