Hybrid sword guns was a whole thing for awhile (although more 1400s then ww1.) They obviously never really worked. A halberd that is a primitive musket seems clever, but having a terrible gun (even by the standards of the day) that then is basically destroyed the first time you actually wang someone with it is a waste…