Depends on the light. My experience with growing plants in my fish tank is that certain lights give off certain PAR (if I recall correctly, it's been a year since I reviewed this stuff) ratings. (It's super complicated and hurts my brain) but that other lights don't. PAR is the prime measurement used to indicate a light's effect on a living thing, as opposed to lumens, watts, amps, etc. That's why LED's have to be a certain kind of LED, incandescents work across the board but put off a lot of heat, certain flouresecent lights work, certain halogen bulbs even... but all have to fall with the specs put off by the sun to be effective on living things whether plants or animals.
EDIT: In summary, yes, a 40 watt incandescent should put off the right kind of light to prolong egg-laying.