Unfortunately, no. But if you have the Word desktop program, you can click open your document in Word and insert the file name in a footer there.
Click Open in Word to open your document in the desktop version of Word.
After opening your document in Word, insert the file name in the footer. Then, press Ctrl+S to save your document to its original location.
Tip: Got a suggestion for this feature?
Vote for an idea, or share a new one in our suggestion box at word.uservoice.com.