I was wondering the same thing.
Of course you can. That's why the pin numbers are input to the instance.