Yes, use oil if the guide is metal (as on older bikes).
No, if the guide is plastic. The plastic will wear before the cables and the grease will degrade the plastic.
The cable housings should be lubed with light oil periodically to prevent corrosion.
The Key factor in both cases is to keep your bike clean.
Enjoy