OpenStreetMap has traffic lights (at least in my municipality in the Netherlands) so it might be usable for this purpose.

Also, https://routeplanner.fietsersbond.nl/ has options for different route types including an option to avoid traffic lights if a reasonable alternative is available.