You can, but most primers will absorb moisture to some degree. Some types more than others. Epoxy primer will hold up the best.
Are you planning on painting the inside of the fenders? If yes I would suggest painting them. Later when the truck gets painted they can be sanded, and resprayed then.