Is there a way to form an event where you can do a Surprise/preemptive battle?

For context:

I am utilizing both the Action RPG and Yanfly's active time battle system in which you can initiate battles without the use of random encounters. The way to do this is during the overworld section in which you can move around and actually see the enemies moving towards you. You have the ability to swing your weapon and whack them. If you whack an enemy, you go into a Preemptive battle against an enemy group. If an enemy hits you, you would be in a surprise attack.

Would there be a way to effectively event this?
Oh, sweet! Thanks! I'll check it out!

Original thread: https://forums.rpgmakerweb.com/threads/is-there-a-way-to-form-an-event-where-you-can-do-a-surprise-preemptive-battle.166009/