Improving the energy efficiency of robots remains a crucial challenge in soft robotics, with energy harvesting emerging as a promising approach to address it. This study presents a functional soft robotic composite called OPV-DEA, which integrates flexible organic photovoltaic (OPV) and dielectric elastomer actuator (DEA). The composite can simultaneously generate electrostatic bending actuation and harvest energy from external lights. Owing to its simplicity and inherent flexibility, the OPV-DEA is poised to function as a fundamental building block for soft robots. This study aimed to validate this concept by initially establishing the fabrication process of OPV-DEA. Subsequently, experimental samples are fabricated and characterized. The results show that the samples exhibit a voltage-controllable bending actuation of up to 15.6° and harvested power output of 1.35 mW under an incident power irradiance of 11.7 mW/cm2. These performances remain consistent even after 1000 actuation cycles. Finally, to demonstrate the feasibility of soft robotic applications, an untethered swimming robot equipped with two OPV-DEAs is fabricated and tested. The robot demonstrates swimming at a speed of 21.7mm/s. The power consumption of the robot is dominated by a high-voltage DC-DC converter, with a value approximately 1.5 W. As a result, the on-board OPVs cannot supply the necessary energy during locomotion simultaneously. Instead, they contribute to the overall system by charging a battery used for the controller on board. Nevertheless, these findings suggest that the OPV-DEA could pave the way for the development of an unprecedented range of functional soft robots.