Can I replace the eventgraph in an AnimBlueprint class with C++?

Hi, I’m not a super c++ wizard yet but I was wanting to know if the EventGraph in an animBlueprint can be overridden by a c++ class? And if so, where can I read on how to do this and how it works?

Thanks!