Schemes such as this have been proposed, see the Swansea Tidal Lagoon [0]. The bottom line is that they are crazy expensive for the power they deliver and just don't compete against other renewables.
Lol well if you knew that then why did you ask me to explain it?