Anki supports creating cards from LaTeX notes via an add-on[0], and for importing from a plaintext-based format there is a command-line tool[1]. After that, one can use Anki’s accompanying shared decks feature to make a deck available to others[2].
Admittedly, all of those options aren’t entirely hassle-free or discoverable.
[0] https://tentativeconvert.github.io/LaTeX-Note-Importer-for-A...