Is it feasible to turn carbon dioxide gas into dry ice and use dry ice explosion to generate electricity?

At least according to the current technical level, it is not feasible.

According to the law of conservation of energy, it takes as much energy to convert carbon dioxide into dry ice as it does to expand dry ice. In fact, some energy will be lost in the conversion process (such as the energy consumed by the conversion equipment). Therefore, through two conversions, it is better to directly use the converted energy for power generation;

After carbon dioxide becomes dry ice, it can be expanded by environmental heat. From this point of view, changing carbon dioxide gas into dry ice and then using dry ice to generate electricity is a way of storing energy. However, from the point of unit energy storage capacity (energy stored per unit volume or weight), this method is far less than the current mainstream electric energy storage method, which can be said to be very uneconomical.