Assuming HBD is above $1, this would work.
However, since it isn't always, and you need to know the actual price of HBD at the time to decide whether to trade it for HIVE or just send it back. There isn't any easy way to do that within the blockchain. A mechanism to do so could be built, but it doesn't exist and isn't trivial.