The short answer is yes.
Many online casinos offer the players the possibility to play casino games for free and win real money back. Depending on the casino, though, the offer can include certain terms like the playthrough requirement. After the money has been wagered following the T&C's, it can be withdrawn.
We strongly recommend checking the terms & conditions of the casino and specifically the parts concerning promotions and bonuses.