Procedurally generated mesh texture for tiles

Is it possible to take an array of cells with a tile type and procedurally generate a mesh texture that blends the different tile type textures together as well as masking the continual pattern like in the image below.

Buildable-Terrain-Mod

Can a node material take an array cells to generate from and would something like this be hard to implement?

I’m still learning so I’ll take as much information as I can get

Maybe the terrain material could help you: