Hey @sccardais,
Probably not with 100% reliability — it depends upon how well the developer has implemented accessibility in their app.
But this macro should work most of the time:
Finding the file path for an open document in the Front Application
-Chris