Would work as long as you model the drivers for the right size cab
Most, if not all of the sound bars have some type of dsp built into the amp, as to make the drivers work as well as possible in the very small and thin cabinets that make a sound bar
So if you were to use the same amp from that sound bar and just install those drivers in any old box and use that amp to power them. It will 100% sound like junk.
So the amp will be worthless with those drivers after you build new cabs