Not likely, but the answer could depend on what kind of truck. I usually have a spare for things like that being I usually am going to fix things for myself and tend to error on some preventive maintenance. Starter, alternator, coils, and recently collecting the throttle body and gas peddle sensor for drive-by-wire, seems if one of these fail you'll be stuck in limp mode at best, and for the easy swap I'd rather have a spare available.
My spares are likely used junkyard parts, but can be new depending on price, realize if new ones fail any warranty may be expired by the time it gets put into service. I rarely have to swap out parts, last few years been a starter, alternator and thermostat that I can think of. Using a spare part for diagnosis can be of value too, but spares can bad parts too, so it's not always fail-proof. My cars are used and intended for service until they are kaput, so spare parts expenses are expected.
Funny thing on that thermostat, not knowing I'd necessarily need it, bought the cheapest slow boat from eBay and one day the thermostat stuck shut, luckily I was going to visit my parents, let it cool, finished a short drive to their house and swapped it out, worked fine and now I got a new OEM spare...I might be getting wiser but still tend to incline for the cheap prices.