It should work in principle. I'm doing the opposite using a lower voltage and boosting up (36v nominal to 54v operational.) Your big issues will probably be:
1) Getting sufficient power through the converter. The rating of these items can be misleading if your intended use isn't optimal for how they've rated the converter. My converter is advertised as "1500 Watts", but what matters is the amps. At my voltages, the system only passes 20 amps. At 54 volts that works out to 1080 watts. Good enough for my use, but not 1500 wattts. Using this possible candidate converter as an example, the maximum amps output is 20. So at 24v, the maximum watt output is 24*20 or 480 watts. If that's enough power, then you'd be in good shap. Also, I'd assume that you could run a 24 volt system at 28 volts (maybe more?) and might actually be able to get a bit more than 500 watts of usable output.
https://www.amazon.com/KKmoon-Programmable-Constant-0-50-00V-0-20-00A/dp/B077P5943T/ref=sr_1_1?ie=UTF8&qid=1530763960&sr=8-1&keywords=1000+watt+buck+converter
2) Protecting the battery from being overly discharged. With the buck converter sitting between the motor electronics and the battery, they can no longer monitor the battery for voltage levels. You'll have to do that either manually, rely on the batteries BMS, or possibly rely on the buck converter if it has a low voltage cut off. I didn't see that option on the device above, but my step-up converter does have that option.
3) Reporting battery level. If your motor/system reports on battery level, that will become effectively non-functional because the buck converter will always show a "full" battery since the converter will typically provide a constant voltage output. There is a plus to that in that you won't notice a drop in speed due to battery voltage drops.
4) You'll have to deal with possible heat and mounting issues. I have my step-up converter attached to the water bottle mounts on my seat tube. That provides a natural flow of air to cool it down. That said, my converter doesn't seem to generate much heat. It seems like my boost converter is about 95% efficient or so at the voltages and currents I'm using. So that should be about 50 watts of heat at nearly its max output. But frankly, it doesn't seem like I'm ever getting that much heat from it. The converter's cooling fan never seems to kick on. My headlight gets much warmer and it is supposed to be pulling 45 watts ... and it is mounted on the front of the bike with very good airflow. So the lack of apparent heat is a bit of a mystery. But either way, this is something you'll need to be prepared to deal with. Assuming a 95% efficiency, you'll need to make sure you have enough airflow to cool a 25 watt or so heat source.
I can't recommend a specific converter, but the one I linked to above seems like a good candidate. These kinds of things tend to cost more on Amazon than on eBay. But you can typically get a faster delivery from Amazon.