Certain, especially older, embroidery formats (for example .dat files for Barudan machines) can be exported to CSV files with the conversion utility in Embroidermodder 2 program. Highly uncommon, but probably possible conversion. Most likely exports vectors in CSV format.
Other than that, it might be possible that some .dat (data) files can be exported in CSV format. That typically requires the original program from which the .dat files originate though.