Very very few people would have the ability to do that.
The moment you do, you’re on a list. It means that your future travel will be characterized by delays and even rejections where you can’t get on an airplane. If you need to travel a lot, you’d be insane to do this.
If they feel that you are doing this to make a point, they can’t hold you indefinitely — but in practice, how long can they hold you without charging you? Could be a long time. Remember, if all else fails, there’s always “resisting arrest” that they can charge you with. And if you refuse to resist, they can harass you until you do something, anything, and then you’re resisting.