Is there a way to set collision to deformed mesh?

I’m using bones to deform a cube and I want it’s collision to fit it’s new shape, Is that possible?