Grid Enable / Disable

As you can see in this PG from the doc (among others) https://playground.babylonjs.com/#1UFGZH#12
The grid material is already built to create just a grid and a transparent fill. If you assign this material to (i.e. ) a plane, you can freely move and rotate your plane and the grid will follow like any other material assigned to a mesh.
Not to mention that if you want to change the size of your grid, cells, rows, etc… you can do that by changing just one or a couple of parameters. Much easier than creating with lines.

Yeah, you can accomplish what you need for sure! Just read the docs to figure out how to configure it and strap that bad boy on a plane move it where you want.