Sure. The table of the empirical distribution is saved as a bundle node. Cast it as a table and then write data to it as you would to a global table.
Here's some example code. If you have an array of sheet and distribution names you can run everything from line 4 up to the last line in a for-loop for each array entry.
string filePath = "C:/Users/felix/Downloads/DistributionExample.xlsx";
excelopen(filePath);
string empDistName = "Test1";
string sheetName = "Test1";
Table data = Model.find("Tools/EmpiricalDistributions/" + empDistName + ">variables/data");
excelsetsheet(sheetName);
int row = 1;
while(excelreadstr(row, 1) != "")
{
while(data.numRows < row)
{
data.addRow();
}
data[row][1] = excelreadstr(row, 1);
data[row][2] = excelreadnum(row, 2);
row += 1;
}
while(data.numRows >= row)
{
data.deleteRow(row);
}
excelclose(0);empirical-distribution-from-excel.fsm
DistributionExample.xlsx
(If you download the files to try for yourself, you obviously have to update the file path in the code.)