Can I replace potassium nitrate with sodium nitrate in a smoke bomb?
In pyrotechnics, $\ce{NaNO3}$ is normally avoided because it is very hygroscopic. 

With dried $\ce{NaNO3}$, the effect should be identical.

In any case, the usual safety rules apply!