The thermal vias are connected to at least 4 different pins on the driver chip, which must remain insulated from each other. If you stick heatsinks on them, you will be relying on the solder mask to insulate the traces from the heatsinks. I advise against that.