Living in south Texas I am well familiar with the effects of the sun.
My comment on 'laser' had to do with a new skin treatment using laser.
Then the answer would be if it is a laser whos light is visible to the naked eye of whatever color, then no, it cannot make your skin create vitamin D.