Yes but... The tricky part is, an analog FG's output is not as stable (over any time scale*), nor as precisely adjustable, or as accurate in display. You'll want a frequency counter to be sure you're aligning it to the correct range, as mentioned.
*Meaning, over short periods of time, noise in the circuit perturbs the apparent frequency, phase, amplitude, etc., effectively spreading the bandwidth. It's usually good enough for LC tuned circuits, but tightly aligned e.g. ceramic or crystal filters may not be so forgiving. Over longer periods, capacitance and resistance in the circuit drift, or vary with supply voltage, etc. Weak effects, but it all matters at this level.
Digital FGs use a DDS, which offers good long-term stability and precise settings, but they achieve this at the cost of approximating that stable frequency by jumping around all the time. This is partially helped by using a good filter to remove the internal clock rate, but lower frequency side bands, aliasing and spurs still remain. The quality of a DDS is specified by the level of these spurs. For aligning an IF, the spurs are probably not important, as long as you can be certain that the frequency you're aligning to is the fundamental of the signal.
Tim