Welcome @AfxTwn
I wrote about this very topic years ago:
Bottom line- for sleep with IEMs get something made for it. Experience suggests wireless better for restless sleepers. I found the below on UK Amazon. Don’t get cheapest possible but also don’t worry much about sound. Comfort is king.
Sleep A20 by Anker Sleep Earbuds, Noise Blocking Sleep Headphones, Small Design for Side Sleepers, 80H Playtime, Stream Content via Bluetooth 5.3, Personal Alarm soundcore Sleep A20 by Anker Sleep Earbuds, Noise Blocking Sleep Headphones, Small Design for Side Sleepers, 80H Playtime, Stream Content via Bluetooth 5.3, Personal Alarm: Amazon.co.uk: Electronics & Photo
Ozlo Sleepbuds® | Comfortable Side Sleeper Headphones | Up to 10 Hours of Bluetooth LE Streaming | Science-Backed Sleep Sounds | Snore Blocking Comfortable Earbuds Ozlo Sleepbuds® | Comfortable Side Sleeper Headphones | Up to 10 Hours of Bluetooth LE Streaming | Science-Backed Sleep Sounds | Snore Blocking Comfortable Earbuds: Amazon.co.uk: Electronics & Photo