Yes, you can withdraw from your TSP account under certain conditions:
In-Service Withdrawals: Available if you're 59½ or older or experiencing financial hardship.
Post-Separation Withdrawals: You can withdraw your funds after leaving federal service. Options include lump-sum payments, monthly payments, and annuities.