This is possible, but you will usually have to complete a rollover before you can withdraw the bonus and the profits from it. So always pay attention to the terms and conditions of the bonus.