Short answer is no it isn't necessary. For home brewing I'd ferment out dry and prime to ensure consistency.
When you brew professionally time is a luxury. Plant doesn't pay for itself sat idle. You also brew the same or similar things following an identical process week in week out. As a result it is REALLY common and pretty straightforward to rack to cask at provisional not final gravity and not prime. The alternative is what? Let it crawl down at the slowest point in the fermentation? Take an extra day to ensure stable reads? Use extra energy and/or insulation to keep the heat up while it is no longer self sustaining? Buy in sugar which is more expensive than malt? Add time to your day measuring out sugar and trying to batch prime? Allow the natural evolution of co2 during active fermentation to dissipate exposing your beer to oxygen pick up, especially as it pulls negative pressure contracting as it cools? Wait for your yeast count to go random and your viability to fluctuate?
You need good control over your fermentation profile and processes to ensure this is safe and consistent, both yeast count and residual sugars. You also need to test further down the line to determine actual final gravity to keep HMRC happy. All of these controls get WAY tighter if you plan to bottle, the danger of exploding bottles is far greater than a mere lively cask. I know a lot of breweries who do prime and will say it is for beer quality, but arguably it is to ensure consistency as a compensate for less than reliable process and shouldn't be necessary. I wouldn't say ferment out dry as the professionals do.
That said home brewing is another world. Batches are rarely the same twice. Pitch rate, yeast variety and fermentation is rarely the same. Volumes can be a bit random. Saccharometers are usually nowhere near as accurate.
For ideal cask conditioning I need the same amount of dissolved co2 at the point in goes into cask which means fermentation halts at the same temperature. I need 1-2 points and 0.5-2x10^6 yeast cells per ml at a good (85%) viability. For bottling I need 0.5 points and 0.2-1.5x10^6 per ml. Cask conditioning is basically free secondary fermentation. You'd probably think it a bit quick, but beer is usually in cask 5-7 days from pitch.