How can i make terrains from 2d map images

I want to ask how can i make terrains not square but with region shapes(png) i have, i want to use terrain component because i want to give each of them lumps. Basically i want this Screenshot by Lightshot

This may be what you’re looking for,

or
you want to use Height maps and you can create them as well