Can I show the widget button when an out of stock product is available to buy or preorder?
Yes! Under Campaigns, Product page button you can check Show for pre-order items. The button will then appear when a pre-order item is selected.
For more information on working with products available for pre-order please see Using Back in Stock with products available to preorder