Yes, OptiFine is often used with other mods. It is designed to be compatible with a majority of other Minecraft mods.