To be on the safe side I'd say no, but if it really makes your track, given that I was going to use the margin for lighting anyway, that's fine.
Edit: I seem to have a few others that have built it this way as well, so I'm just gonna say that as long as the track itself doesn't go up that high, the light poles there are fine.