The lowest-friction cooling test you can run
If you're trying to figure out whether fabric matters for your night sweats - or whether the issue is upstream of bedding entirely - the pillowcase is the cheapest variable to change. A two-pack of bamboo viscose pillowcases is typically under $25 on Amazon and runs through a normal washing machine. If you don't notice a difference at the head-and-neck contact point within two weeks, the next move is the sheets. If you do notice a difference, you've answered "is it fabric?" with $25 instead of $250.
Your face and neck shed heat faster than most of your body during a hot flash. That makes the pillowcase a higher-leverage swap than its price suggests.