MV Weapon that attacks with a Skill?

Is it possible to do that, have a weapon select a skill for its default attack? For instance a skill that drains HP or inflicts debuffs (impossible to do with normal weapons)?
The weaponskills plugin that comes inside the dlc folder does it. yanfly's weapon unleash also does it if you own it.

Original thread: https://forums.rpgmakerweb.com/threads/weapon-that-attacks-with-a-skill.177481/