I find the Actor Action Utility can serve this purpose, but with some limitations, e.g., customizing the action hierarchy in the context menu when right-clicking an actor.
I still wonder how to achieve this in C++. Opening the Actor Action Utility definition in C++ and tracing the call chain, I cannot find where I should start with. It seems that many things are entangled with each other.