I found an existing thread with something similar and managed to follow the solution there: https://xenforo.com/community/threads/allow-bb-code-formatting-in-thread-titles.116234/#post-1067714
However, this only allows for the default BB codes to be used: [B], [I], [U], [S], [SUP], and [SUB]...