The dry ice (frozen CO2) will certainly freeze anything, but you will also need a vacuum pump to extract the water. and dry the food.
The point of freeze-drying is to avoid the movement of water from inside the food to the surface. That lets FD stuff rehydrate fast and taste better. The process of turning frozen water into vapour without a ‘wet’ stage is called sublimation. That is the secret.
Ordinary ‘dried’ food develops a thin shell of dried protein at the surface, and this changes the taste and can make rehydrating very slow. The protein is carried to the surface by the movement of the interior water.
The dried protein layer is often eaten before it rehydrates properly. It passes through the stomach and ferments in the intestines as it rehydrates.
Cheers