You could but, the lights will dim and brighten depending on the throttle setting. Also, 12v bulbs may be too small since your track could get up to 18v.
What about some battery powered LED lights. There are a lot of different sizes, colors and numbers of bulbs. You can find quite an assortment in stores like Hobby Lobby and Michael’s.