MV Is there a way to give a target a state from another state?

Using Yanfly's Buff and State, is there a way to give an actor or mob a state and have that state randomly activate another different state? Like for a slow state, but periodically the actor inflicted with the slow state will pause and stop moving [using the can not move option of the state] and then after a single round the state is removed and the slow state continues its run.

Is that even possible?
Maybe this tag from YEP Buffs & States Core (untested):

<Custom Turn End Effect> if (Math.random() < 0.2) { user.addState(123); } </Custom Turn End Effect>
I.e. "on turn end, 20% chance to add state ID 123". Replace the numbers as you like~

For your example, this tag would go on the Slow state, and 123 would be the ID of a state with Cannot Move restriction and 1 Turn duration.
Maybe this tag from YEP Buffs & States Core (untested):

<Custom Turn End Effect> if (Math.random() < 0.2) { user.addState(123); } </Custom Turn End Effect>

I.e. "on turn end, 20% chance to add state ID 123". Replace the numbers as you like~

For your example, this tag would go on the Slow state, and 123 would be the ID of a state with Cannot Move restriction and 1 Turn duration.
This actually worked pretty good, now I just have to figure out how to meld this into the two states so it does what I want a little better... Thank you

Original thread: https://forums.rpgmakerweb.com/threads/is-there-a-way-to-give-a-target-a-state-from-another-state.155483/