Yep. I wrote an academic paper a few months ago in Typst. I used the VS Code extension for live previewing. All totally opensource and it works great.