While this would certainly help the glacier from breaking apart, the effort required would be imense and a geotechnical nightmare. Building dikes above ground is tough enough as is.
On top of that we are warming so quickly. I don't see how this would stop the sheet from melting from air temperature/solar radiation