Yes, you can use it. But you're needs to use CMOS waveform, because standard Sine/Square/Ramp/etc waveforms use oscillation around zero.
For example if you use Sine waveform and setup amplitude 5 Vpk, you will get voltage change from -5 Vpk to +5 Vpk. -5 Vpk is not safe for logic input and even can destroy it. This is why you need to use CMOS wavform, which produce square wave above zero (for amplitude 5 Vpk it will be from 0 Vpk to 5 Vpk).
Also you're needs to check required logic volatage and setup amplitude properly.