Yes, it's fine. Rinse and scrub any loose garbage off it and throw it in the tank.
It won't have enough salt on/in it to cause a problem, less than some people use in their tanks in normal conditions, and none of it toxic.
The likelyhood of introducing any disease is practically zero, anything that might have been on it will be saltwater diseases and parasites and will die in freshwater.
You might get a bit of browning of the water. Or it's ugly. Either one is harmless.
People WAAAAAY overthink putting driftwood in their tank.