Is possible to make VOD hls with ts file

is possible to make VOD hls with ts file? I have a particular need to use hls ‹ .ts › files like hls in general in object storage.
or i just change code in ffmpeg-vod.ts

    return command.outputOption('-hls_time 4')
                  .outputOption('-hls_list_size 0')
                  .outputOption('-hls_playlist_type vod')
                  .outputOption('-hls_segment_filename ' + outputPath)
                  .outputOption('-hls_segment_type fmp4')
                  .outputOption('-f hls')
                  .outputOption('-hls_flags single_file')
  }

thank you…