A sustainable transportation goal is the integration of renewable energy into electric vehicle charging stations. This work aims at optimizing solar powered EV charging systems by means of novel techniques, which will lead to improving power flow management and ensuring system stability with Power Allocation Grey Wolf Optimization (PA_GWO). The effectiveness of the PA_GWO algorithm was evaluated under varying solar irradiation conditions with and without the optimization algorithm, on key performance metrics that include power quality, DC link voltage stability, and energy utilization. A fuel cell system was integrated into the system as an auxiliary source of energy to ensure the system runs continuously and offers consistent power supply during low solar irradiation periods. It improved the operational efficiency and management of power by integrating the fuel cell and PA_GWO. MATLAB/Simulink tools were used in modeling, simulation, and performance analysis for overall evaluation of the system's behavior and techniques for optimization. The results were positive and thus confirm better performance with potential to offer improved efficiency and reliability and more sustainable solar-based EV charging stations as solutions toward a shift in the entire world toward green transportation and renewable energy.