Hi Antonia!
Great question. It’s viable. The biggest problems deploying it so far have been logistical – suitable locations to install them are often quite remote from the coast & thus the power grid.
But; with the advent of more widespead oceanography; we can study for suitable locations.
The biggest hurdle left will be to find suitable materials to make them long lasting in tough salty conditions.