Any sub will do that is properly designed as a monitor sub. For example you would want to avoid a consumer-market sub that is designed for a satellite system.
Also, you will need to consider setting up the sub for two different sets of mains. Those two sets of monitors have very different bass response, so in order to match the sub with flat performance at the crossover point, you'll need to change the crossover when you switch mains. The alternative would be to set a single crossover point that works for the BX5s, but that will be relatively high--probably 160Hz or so--and that is less than ideal for the Yamahas.