Guns canonically exist, if I recall correctly. Likely however, superseded by the effectiveness of ninja, as a gun doesn't really bring anything new to the table that couldn't be done by chakra.