Tanning beds ok to self treat pityriasis rosea?

No. Pityriasis rosea is a self-limited condition. If you feel you need therapy, see a physician who can prescribe a topical medication. Avoid tanning beds where you will get unreliable dosing as well as uncertain wavelength delivery. Not worth putting your future self at risk to treat a condition that goes away on its own.