Not until someone implements the handling of such in XLSX import. Excel needs a cloud connection to run Python and there are apparently some homegrown functions like xl(), so it probably would not be straightforward:
Why in gods green earth would you want a cloud connection to run a Python script on your computer when you canr run python locally since day 1 of Python ?
https://www.solvermax.com/blog/python-embedded-in-excel-firs...