Even if a macro can temporarily bypass automated systems, it cannot easily circumvent human judgment. On Verified servers, other players are quick to report suspicious movement. A high-level admin reviewing a clip of a player with an unnatural, jittery, "glitch-roll" motion will have little difficulty identifying and manually banning the offender.
Using official hardware software (like Logitech or Razer) is generally considered safer than external executable scripts (.exe files), as the inputs are processed directly through your device drivers. Example: Logitech G HUB Configuration