Probably, though it's perhaps easier to change how you sleep - where do you have your CGM?
When I used to have one on the back of my arm, I'd sleep with my shoulder slightly supported on a pillow/my other hand under my arm - this seemed to work and I'd very rarely get a compression low - if I rolled over (I often sleep on my side) I'd tend to move my arm automatically too.
I've now got one on the side of my tummy, and again I've got used to not lying on it directly.