Hey Lili,
Yes it is possible to do it, I’ve done it when a book calls for it, but I do it in the HTML after export. If you are asking if it is possible to do before export in InDesign, I believe it should be by using Cross References and not the Footnote or Endnote features in InDesign, that said, I havent done it personally in InDesign so you might have to test it out and see.
Sorry I didn’t have a more definitive answer, but hopefully that gets you pointed in the right direction,
Aaron