The mass of water you would have to displace to handle what's melting off Greenland and Antarctica on top of thermal expansion of the oceans due to hotter water[0] would make this the biggest mega project humanity has ever attempted, by several orders of magnitude.
From a purely economic and technical perspective, it probably makes drastically more sense to just gradually abandon parts of our coastal cities as they submerge and retreat inland.
[0] - https://sealevel.nasa.gov/understanding-sea-level/global-sea...