Can a status effect make a single-target attack damage all enemies?

Exactly what it says on the tin.

I know this might require one of Yanfly's paid plugins, but I just want to know if it's possible.
Yes
Ok and how is it done?
Getting more than a cursory answer requires you to give more than cursory information.

For example, is the state going on an enemy or the caster?
You could use yanflys target core to make your skills target the entire unit if the user has a state on with a notetag. It would have to be put into every skill though
You could also use Buffs and States to make the entire troop take damage when the target with the state does.
Ok basically here's what I have in mind:

1. Harold has an attack skill that usually hits one target.
2. Therese uses a skill that applies a state to Harold. This state changes the targeting scope of Harold's attack from single-target to multi-target until it expires, in which the skill will return to being single-target.
Ok basically here's what I have in mind:

1. Harold has an attack skill that usually hits one target.
2. Therese uses a skill that applies a state to Harold. This state changes the targeting scope of Harold's attack from single-target to multi-target until it expires, in which the skill will return to being single-target.
I know the following post was on the script forum for VX Ace, but Aesica thought it was the MV boards so it would apply to you.

Changing the scope conditionally is not really supported, as far as I can think.

The easiest way to do this would be to have two versions of the skill with the same name and the two different scopes.

Use Buffs & State notetags to remove the single-target skill when the state is applied, then give it back when the state is removed. You can use a regular trait on the state to add the multi-target version while the state is on.
JavaScript:
<Pre-damage Eval>
if (user.isStateAffected(x))
            var multi = $gameTroop.aliveMembers();
            multi.splice(multi.indexOf(target),1);
            multi.forEach(enemy => enemy.gainHp(-value));
   
</Pre-damage Eval>

x being the state you want to use, this should do what you want to do without having to make multiple versions of the skill.

Original thread: https://forums.rpgmakerweb.com/threads/can-a-status-effect-make-a-single-target-attack-damage-all-enemies.172019/