DominionStrategy Wiki
You can't do this directly but you could - buy a wharf (first) if you have enough coins and buys- buy the wharf when you have only one buy left- buy the bonfire only if there is enough copper in play and in the deck