Yes.  A violation of a court order is considered contempt of court and is subject to incarceration.