Hi LM,
yes, different types of rock/gravel & sand can affect (raise) your water chemistry (pH/GH/KH), particularly those which are of limestone.
Yes again on the driftwood, the tannins in woods are acidic, and can affect (lower) your water chemistry (pH/GH/KH).
Further, they (tannins) can stain...