Custom instrument staff style

Is it possible to create a 2-line staff with an adjustable gap between staff lines and also allowing noteheads to be placed anywhere? Or similarly is it possible to have a regular 5-line staff where only the top and bottom lines are visible?

With the percussion grid, spaces can not be used. Custom instrument staff line gaps can not be changed. I am asking for contemporary music notation specifically.

This should get you rolling:

… and welcome to the forum.