Is it okay to sleep with tampons?

Olyana • 💛💙💛
And if so, how long do you guys leave them? I usually go to bed around 10 and set an alarm for 4-5 am so I can change it. What do you guys do for sleeping?