Yes, you can.
But if you trade it in, you're not going to get the value out of the truck. I'm pretty sure that truck has probably dropped a ton in value. If you owe money on it, that still has to be paid for. If you owe more than what the truck is worth, you'll have to add what you owe to your new truck payment.