No, you can’t initialize it manually, but I don’t really see why would you need to do that (it’d be a tensor of zeros anyway). You can still access and modify the gradient, but only once the backward has been computed.
Doesn’t this work for you:
output = model(input)
loss(output).backward()
model.weight.grad.data # not None anymore. Can be modified