Yes.

In case of a long position:

Adding margin will reduce the leverage and hard liquidation price.

Removing margin will increase the leverage and the hard liquidation price.

In case of a short position:

Adding margin will increase the leverage and the hard liquidation price

Removing margin will decrease the leverage and the hard liquidation price