Cast to Character Blueprint inside Animation Blueprint

Maybe its just lack of knowledge for these game designers, Try Get Pawn Owner works just fine and it will depend where your calling the cast also, you should be calling the cast on Event blueprint initialize animation then set a variable of your character class there rather than casting to it every time.

Also how is this related to UE5 ?