That's probably not a good idea since it takes a tick to read the color from single pixel in Drawing Canvas, which is the only object that can do that.
Making a list using one of the data type objects would be far faster.
If you need a visual representation the Tilemap object would work if you go by tile index.