It is posible, but I understand is completely different stuff and makes making the mod more complicated.
Mostly because you have to code an UI and code the filters into that UI or change the current vanilla filter UI to make it compatible, it is posible but hard or I think it's hard, I'm not a coder so I can't say for sure.
I have tested the mod and I like it, but at the end more like a filter, it locks the weapons that you filtered our with the filter hullmods.
Which isn't bad but at the end you will still have 500+ guns in list although they will say "Non Installsble"