When I ReFinish a complete truck at my shop , I have the bed off setting on a bed dolly , and refinish the whole cab , and bed seperate.
When the bed is on the truck ,its pretty hard to mask of the gap between bed and cab, there for you have a paint line behind cab and bed. or rough over spray from not being able to mask it off well.

SprayTech