I briefly looked at the tsp website
here. It does look like loans are an option in a hardship situation. I didn't look for contribution limits.
Personally, I think the TSP is overly simplified. Only 5 funds to choose from!!Of course, for the average person the simplier the better.