Are these lamps safe?
Jokes aside, skin is very photo-active and I do think lamps can help greatly against these kind deficiencies.
Most lamps emit a line spectrum though, so it is not like real sunlight. I wonder if that is the reason people going to solaria often seem to have weird skin tones. Ask a dermatologist and don't forget eye protection.
Apart from that it has the same side effects as sun exposure. Too much leads to skin aging, sunburn, cancer, etc.