Sleeping with a tampon?

Is it safe to sleep with a tampon in. On the weekends i sleep like 8-10 hours (during the week way less) Anyways i‘m kinda worried if it‘s too long