It is possible to generate a webpage automatically with http://documentup.com/ from the README.md
file. It's not creating a TOC, but for many it might solve the reason for wanting to create a TOC.
Another alternative to Documentup is Flatdoc: http://ricostacruz.com/flatdoc/