Is there a way to create an outline for an actor in a custom viewport with c++?

Downwoting as it is commercial content not an answer.