Absolutely. The Warlock 2 or Fighter 2 dip is super powerful. If you are a caster, however, you have to decide if putting off higher level spells is worth the temporary dip. It's all about player agency, and I don't think there are any wrong answers.