Yes, Suggestion 5e can be used in combat, but the suggestion must be phrased in a way that is reasonable and non-harmful. The target must also be able to understand you and must fail a Wisdom saving throw for the spell to take effect.