As far as I’m aware that is correct, note that I’m an Avast user and not an Avast Team member.
The avast Self Defence module is likely to prevent such modifications. Even if temporarily disabled I don’t know if the underlying structure would support it.