Yes. CrossFit is a very intense and challenging exercise, so it's in your best interest to be in the care of a professional trainer who can provide you with a safe environment to work out in. Furthermore, many of the exercises will have you using one machine for a long time, and sprinting across the gym, so it's widely accepted as poor gym etiquette to practice CrossFit in a public gym outside of a class.