You can lube optical switches, but you don’t need to. Mainly, lubing switches is to get better speed and gaming performance. Optical switches don’t have the mechanical parts of mechanical switches so there is very little resistance. Lube doesn’t really give any meaningful improvements to speed in my experience.