Noise on acceleration may be from worn piston skirts. It might also be catalyst rattle. I'd certainly put the truck on a lift ands check that first. Rocker shaft rattle tends to be independent of throttle.
To check, try pulling plug wires one at a time as you gun the motor. If one wire (pulled) eliminates the rap you have found your noisy cylinder and you know its an internal problem.