Let me elaborate on thmsths's answer. The United States developed and tested large "clean" fusion bombs that produced only a very small fraction of their energy from fission. Those bombs could produce raw thermal energy at a cost below any fossil fuel or conventional nuclear reactor. For example, the Housatonic test shot of Operation Dominic in 1962 yielded about 10 megatons and 99.9% of the energy released came from fusion [1].
The problem is that explosions of that magnitude are not usable for controlled energy generation. Confining them underground is impractical, due to the scale of energy release. The largest underground US test was 5 megatons in 1971, and it was so disruptive (induced surface motion equivalent to an earthquake) that it had to be conducted at a remote Alaskan island instead of the usual Nevada test site [2].
For those reasons, Project PACER considered bombs of only up to 50 kilotons. At those sizes (0.5% the energy yield of Housatonic), there is no known design to get 90%+ of the bomb's energy yield from fusion. The efficient fusion designs don't gracefully scale down to that range. And at that much smaller scale where underground confinement was practical, bombs were not actually any cheaper as a source of raw thermal energy. Quoting Wikipedia about the project here, "In a 1975 review of the various Plowshares efforts, the Gulf University Research Consortium (GURC) considered the economics of the PACER concept. They demonstrated that the cost of the nuclear explosives would be the equivalent of fuelling a conventional light-water reactor with uranium fuel at a price of $328 per pound. Prices for yellowcake at that point were $27 a pound."
[1] "Ripple: An Investigation of the World’s Most Advanced High-Yield Thermonuclear Weapon Design" http://web.mit.edu/zoz/Public/jcws_a_01011.pdf
[2] https://en.wikipedia.org/wiki/Cannikin