Its possible.
After you clear as much out as you can, I would remove the filter, stick a hose on the fuel line, power up the fuel pump and flow into a bottle to give you an idea what may be in there. I also wouldn't put more than a few gallons to start. If you fill it and there's an issue, you don't want to deal with 20+ gallons of fuel.
I have replaced more truck fuel pumps over the years then I can count. If the truck your getting is American and not older then the late 90's, somewhere between 96-98 the manufacture's all changed the fuel pump designs. The trucks were the worst. Around 02 they finally figured it out but, the additives in fuel changed and that brought new issues. Today the fuel isn't as caustic as it was but it can form a weird muck when it sits over a couple of years.
You eventually want to pull the fuel pump and look at that. There's (should be) a sock on the end of the pickup that filters coarse debris. You want to make sure that's in good shape. If you end up with. If its American, you also want to inspect the wiring from the pump to the mount plate where the wiring goes out of the tank. As the pump gets old, it draws more power. The manufactures started skimping on the wire in the tank. You want to inspect it for melted wires and connectors. If thats the case, new pump and internal harness.
If the truck is Japanese, disregard everything except the fuel muck eating the pump.