2016 Ford F250 - Idle question

Is it safe to idle your F250 2016 diesel truck for more than 10 hours at a time

Sure, just not inside a building.

10 hours, why ?

10 to 12, working sitting in pick up doing paperwork

It’s illegal in some places and for good reason.