Sure, but what I don't quite understand is what the grid would be used for within the game. I mean, the map editor already includes this feature and indicates the coordinates.
For example, I'm not sure if this is what you're looking for, but try this:
https://forums.rpgmakerweb.com/index.php?threads/rmmz-grid-free-doodads-work-wit...
Best regards!