Rarely. The die cost per part is too high unless the tool already exists, is shared with another part, or the tolerance saves enough machining to pay the difference. At that volume sand casting or machining from billet is usually the cheaper route.
Under a few hundred pieces a year, above roughly 20 kg per part, with internal cavities that need cores, or in a ferrous alloy: sand casting. From about 2,000 pieces a year with a wall under 2 mm, a ±0.05 mm as-cast tolerance and a painted or anodized finish: high-pressure die casting.
Between those two points the answer depends on the part. The comparison below uses typical values; the drawing and the annual volume still decide.