Can SwiftUI work with core text?

Is there a way to draw the glyph variants out by swiftUI after I get the glyph name or code using core text?
I am trying to typesetting math equation using swiftui like what iosMath done in UIlabel. Is there a way to do so?