Yep you could even be detained for a period being a couple of hours or day in which case you'll miss your flight and have a lot of explaining to do. As already advised never mess around with your passport. Probably better to not travel to Thailand if it's going to be that much of a problem or get a divorce.