Yes, there is a plug under the bed behind the spare tire. Unplug at this connector, pull the wire harness out through the hole in the body, and remove the tailgate. I very seldom use my tailgate. I plan to get a 5th wheel type gate which is much lighter and easier to take off and on than the factory tailgate.
Bill