Looks like at least inline code styling is working in titles: https://programming.dev/post/184949. I also confirmed elsewhere that emojis work in titles.
I went looking at the Lemmy docs, but didn't find anything specific about titles. Just this:
The main type of content in Lemmy is text which can be formatted with Markdown. Refer to the table below for supported formatting rules.