Is it possible to make a client-side mod to reduce guard radius to stop units attacking of their own accord?
Not surgically. One could make a balance mod that overwrote all unit properties to include that one change; e.g. it would need updating every time the base game unit properties changed.