If a billionaire has committed criminal acts, would a government be able to freeze his/her money (if it's even in a bank(s)? Is there a precedent for something like that?

I'm genuinely curious because what would even happen if a billionaire gets a life sentence or something? Would their money be seized by a government or would the billionaire be able to decide how they want their money spent while serving their sentence?