Yes, provided you know the input impedance of the preamp, and provided you have a capacitance meter. Oh, it'll take two caps.
If the input impedance of the preamp is R (in ohms), calculate the capacitance by:
C = 159,000 / (R x F)
where C is the capacitance in microfarads, and F is the frequency in Hz. So if you want 100Hz, and the input impedance is 1500 ohms, then:
C = 159,000 / (100 x 1500) = 1.06uF.
But that's not the value of capacitor you want to run out and buy. What you really want is 2.12uF. Why? Because you're going to put one cap in series with each leg of the mic input, and these caps will be in series with one another, and two equal-value caps in series have a total equivalent capacitance of half the value of each cap. So you want 2.12uF; in practice, 2.2uF will do. So run out and buy a dozen 2.2uF caps, maybe more, and start sorting using your capacitance meter until you get a closely matched pair. (If you don't, your preamp's common-mode rejection will go to hell in a handbag.) Put those in series with the two legs of the inputs (pins 2 & 3 of the XLR). Then wire up a DPDT switch to bypass the two caps in one position of the switch, leaving the other position unconnected. Problem solved.
Only thing is, this is a trouble-prone way to solve the problem, given that the signal levels are very low. It's a good place to pick up extraneous interference, and unless the switch terminals are gold, you may have all sorts of problems when they get old. You also may be switching at a point where phantom voltage exists (tranformer preamps only), which is a good way to get BANGs in your output if you switch hot. (If you do this on a transformerless preamp, put the filter on the side of the blocking caps away from the XLR.)
That's how to do the job you outlined, but let me suggest two alternatives. The first is to buy an inline filter, which Shure sells and E-V used to. Plug it in when you need it, otherwise keep it in the BS bag. Or install an RC filter circuit somewhere else in the preamp; between the amplifying stage and a following level control is often a good spot.
Peace,
Paul