Can I use the green part of leeks for stocks?
Absolutely, go ahead and use it.

I always ignore the "white and light green parts" instruction anyway, and use the leek up until the point where it feels dried out instead of firm and fleshy—well into the dark green parts—and it's always delicious, even when cooked for significantly less than several hours.