IFR is a set of rules that has nothing to do with cloud! Instrument flying can be taught using simulators and mechanical devices to prevent the student looking out however; you do not need to be in IMC to teach instrument skills, in fact its better not to be in IMC..