Yes, you can do both... The way I typically do it is by signing into the AVIS website and then using the AWD and Coupon Code provided by Costco.
You can also go through Costco and then call AVIS to add your Preferred number, but I think the other way is easier.
Good Luck,
- RightD