Using hombrew weapons to alter subclass features when equipped?

I have a homebrew weapon which has the following homebrew feature, specifically designed for use with the Poisoner’s Guild subclass: “Toxic: When used with the Toxic Concoctions feature, roll a 1d6+1 instead of 1d4+1.” Is there a way to update the Toxic Concoctions feature with the new dice and limit, but only when the hombrew weapon is equipped?