It's possible to register a [new format](https://wordpress.org/gutenberg/handbook/designers-developers/developers/tutorials/format-api/1-register-format/) for the paragraph block. Add one to allow inline TeX.