Don't know why that wouldn't work - be neat to use some of that textured spray paint that's available. The only problem is that it would be tedious work taping over the "ties" for a large layout.
I'd even think about painting the entire roadbed grey, getting a stamp made at a stamp store with an imprint the size of a tie, and stamping the "ties" over the grey paint. Be a whole lot faster.