It'd be easier if it were the other way around, but there's nothing to stop a melee DPS build having a few ranged attacks.