NOT literally of course!
That’s more of a household, old-school method rather than the sport science, but it always worked for me and my brother.
When we were younger and had to cut weight before competitions, our father was telling us to sleep in big sweatpants, socks, jackets and a hat. You can lose surprisingly a lot of weight by sweating it out at night.
It’s worth trying.
Falling asleep is hard, but after you make it, it is probably the most pleasant way of cutting weight.