Yes, but:
1. Don't set the minimum ratio to zero. That would command infinite output voltage! Place resistor(s) in series with the ends of the pot, to limit how far the total range covers.
2. Mind the range. For example, a self-powered regulator (like the classic offline UC3842 circuit, and relatives) doesn't have much adjustable range between minimum and maximum operating voltage, so neither can the output (a 2:1 range is about the most that's feasible for these; so, for example, a nominal design of 12V, with an 8 to 16V range). Regulators and controllers that are supplied by the input, or a separate aux supply, should be adjustable down to zero, at least if compensation isn't a problem.
3. Place a resistor in parallel with the top half, i.e. from output to wiper. This protects the output in case the pot goes open circuit -- you've likely heard the effect of a scratchy pot before (loudly crackling audio when turning). What's happening is the wiper loses continuity (usually due to dirt or wear). This way, instead of VFB going open circuit, the output is commanded to minimum.
4. When applicable: mind that the Thevenin equivalent resistance of the pot wiper varies with position. If this ties to a feedback network, you may want to use a relatively small divider (like 1-10k range) and add a series resistor (10-100k?) from wiper to FB to set that resistance. (This doesn't apply to most newer adjustable regulators, which have internal compensation and only read the voltage on the FB pin, no current through it. Older types, and custom designs, may use an inverting error amp configuration, where the compensation network wraps around an op-amp, and so the FB divider's resistance matters.)
(The LTC1771 is of the "just looking at FB pin voltage" type, no worries about Thevenin resistance.)
Tim