Our understanding of a large range of astrophysical phenomena depends on a precise knowledge of charged particle nuclear reactions that occur at very low rates, which are difficult to measure under relevant plasma conditions. Here, we describe a method for generating dense plasmas at effective ion temperatures >20 keV, sufficient to induce measurable charged particle nuclear reactions. Our approach uses ultra-intense lasers to drive micron-sized, encapsulated nanofoam targets. Energetic electrons generated in the intense laser interaction pass through the foam, inducing a rapid expansion of the foam ions; this results in a hot, near-solid density plasma. We present the laser and target conditions necessary to achieve these conditions and illustrate the system performance using three-dimensional particle-in-cell simulations, outline potential applications and calculate expected nuclear reaction rates in the D(d,n) and 12C(p,γ) systems assuming CD, or CH aerogel foams.