There are several synonyms that can be used in place of the phrase "going in harms way". Some examples include:
1. Putting oneself in danger
2. Risking life and limb
3. Endangering oneself
4. Facing peril
5. Braving the danger
6. Courting disaster
7. Venturing into harm's path
8. Gambling with one's safety
9. Taking a risk
10. Going into the line of fire
Each of these synonyms conveys the idea of knowingly entering a risky or hazardous situation. They can be used interchangeably with "going in harms way" to add variety and expressiveness to your writing or speech.