No, they are unrelated. \( cos \text{ } \varphi \) is by the way, only the "displacement" part of the total power factor. There's also distortion power factor, which is usually more relevant for electronic device load. Both are only affecting apparent power, efficiency is defined as output power/real input power respectively luminous power/real input power in case of a light source.