Yes. The USA allows indefinite detention pre-trial when you can't afford your bond. I really shouldn't have done a day in jail, but I didn't have access to my bank account or my possessions so I couldn't get any money together to get myself out.
I actually did over 8 years straight before I managed to put the money together from the inside. Then when I got out I made an "lol" post on Twitter because the local sheriff's dept was coming to my house every single day and arresting me, dragging me out onto the street and then letting me go. So they took me to jail again for the Twitter post and denied me bail on it since it was such a dangerous post I guess /s.