Your nerves pass through several pinch points not just your wrist/ carpel tunnel. Any one of those can cause the symptoms the op has. Go to your gp but don't expect them to know what the problem is if it isn't carpel tunnel. They are pretty much useless at diagnosing anything but cp tunnel.
The gp will likely ask you to hold your arms up so the backs of your hands are pressed against each other with a 90 degrees bend and your elbows straight out level with your wrists. Hold this for a few minutes and if it hurts, tingles or gives you pins and needles it's likely to be carpel tunnel. If not it's more likely to be something else. Another thing to note is which fingers tingle the most when you get the sensation. CTS it's certain fingers, if it's your elbow pinch point it's other fingers. Can't remember which.
The other thing is to sort your sleeping out. Neck position in regards to your spine can be a factor. If you're a side sleeper get a higher and firmer pillow to lift your head more into alignment with your spine. It might help. Keep replacing pillows if they collapse which they will do with time. Also, note if it mostly happens when you're lying on one side. You could have a stronger shoulder muscles on one side that reduces the incidence on that side. Exercise your shoulder and neck muscles to strengthen them, it can help.
Get medical help. Your gp is not going to be good enough to sort it. A physio might but might not.
Exercises to try include a prayer type position with your elbows out. Hold it for a bit of time, say 20s to 30s then release. Repeat for 10 repetitions. Another is the sneaky tip request Exercise. This is when you hold your arm to your side and bend your hand out behind you like you're asking someone behind you for a tip. Hold it there for some time because your customer is slow with the tip. Relax then repeat. So 10 repetitions then repeat the action for the other arm.
There are more exercises but I can't remember them. They can help without needing surgery.
Good luck but don't rely on us here, get good medical diagnosis and help. Also, if the test fit CTS has no effect make sure the GP knows. If it's not CTS then they need to enable you to find out what it is and get you treatment for that. They may well try and fob you off with physio for carpel tunnel syndrome when it's not, because that's more common and they're familiar with it/ with its treatment.