No, you can only equip one weapon at a time in Starfield, even if it's a pistol.