Vitamin D production peaks at 297 nm, right in the middle of the UVB band (280 - 315 nm), suggesting that separation of Vitamin D metabolism from burning will be difficult or impossible.
EDIT: "..the ultraviolet action spectra for DNA damage, skin cancer, and vitamin D3 photosynthesis are identical ..."
B. Gilchrest, American Journal of Clinical Nutrition, Vol. 88, No. 2, 570S-577S, August 2008