This study presents the design and analysis of an innovative integrated system aimed at simultaneous production of energy and freshwater from the organic fraction of municipal solid waste (OFMSW). The proposed system consists of four main components: an anaerobic digestion reactor, an internal reforming solid oxide fuel cell (SOFC), a modified transcritical (MTC) carbon dioxide power cycle, and a thermal desalination unit. System modeling was conducted using the engineering equation solver software, and the results were validated against data from previous studies. Subsequently, the influence of key variables such as the mass flow rate of the feedstock, FUR ratio, and operating temperature of the SOFC on the overall system performance were examined. Machine learning techniques were employed to perform a comprehensive analysis and provide accurate predictions of system behavior, enabling simultaneous evaluation of the input variables influence. The results demonstrate the effectiveness of regression algorithms, showing high accuracy in predicting system performance. The optimal results, based on a four-objective optimization process, include 658.6 kW of power and 293.4 g/s of freshwater production. The system operates with an efficiency of 60.9% and releases CO2 pollution of 10.9 g/kW.min under optimal conditions.