Yes, generally you can. The Guitar Hero 3 Les Paul controller works with Guitar Hero IV: World Tour.
The main difference is the button layout — World Tour added a fifth fret button for the drums-focused design, and older four-button guitars still function but lack that extra input. For guitar play specifically, that doesn't matter.