yes, it is possible - anything is possible if you place enough work and knowledge into it as the engine is completely open.
For this there are two different ways to handle this, depending on what you actually want.
the easiest way would be to use an image program to edit the arrow into the leader sprite. However that requires that your 8D plugin allows for 8D sprites and ignores cases where the actor goes into a different direction than facing (ladder-flag)
The better way would probably to use a plugin for a HUD-type display.
I don't know of any such plugin that exists, but you can request it - it's interesting and general-use enough that you have a good chance to even get it for free.
However in that case you need to decide whether the arrow should point to the cursor or a target point, whether it should be fixed in 8D or in 360° and a few other details.
Oh.. so add an arrow to the sprite image/spritesheet.
Is there a way to add a pointer image and based it on where the character is looking?
I can try and put an image event that runs on parallel, and uses the x and y of the actor as the variables, but that dont cover the 8D directions/360 as well as where the character is facing..
Editing the sprite will most likely not work, because the graphic cant extend to the down direction.
Not sure if there is a Workaround for that or if another approach is needed.
Can you give a Link to your 8dir Plugin?
The Solution for your If Statement could be in there.
Can you show a Picture of the Eventpage containing all the Eventcode, we might be able to help you fine tuning it.