Recently I did a little experiment in LottieFile to animate an SVG file using a particular animation style which only animate the line paths or strokes of text and illustration element. It will not working if I just create outlines from a text, so here's a video tutorial that will explain of how to turn fonts or text into single line paths in Illustrator CC.
There are few other techniques explained in an old forum thread in Graphic Design Stack Exchange of how to convert text to single stroke in Illustrator, but I think a few of them still relevant and worth to try.
Last thing, here's the final result of my experiment:
Last thing, here's the final result of my experiment: