https://www.europarl.europa.eu/doceo/document/TA-9-2023-0237_EN.html#title2
(a) appliances specifically designed to operate primarily in an environment that is regularly subject to splashing water, water streams or water immersion, and that are intended to be washable or rinseable;
(b) professional medical imaging and radiotherapy devices, as defined in Article 2, point (1), of Regulation (EU) 2017/745, and in-vitro diagnostic medical devices, as defined in Article 2, point (2), of Regulation (EU) 2017/746.
You certainly can. Look up any flagship smartphone and you can see that they provide water resilience and they have a charging port.