yes if the pads are not damaged
Even if the pads are damaged you can scrape the traces and solder to that or look for altenate points and use a regular 1/8 watt carbon resistor. Just solder leads from the board to the reststor.
But if the pads are good and the resistor is not then just buy a new replacement resistor.