An OCC course it would be OK, because that is internal operator training. Normally for a type rating then no, since the requirement - and expectation of the students - is that they are being taught by a qualified instructor. The risk with an OCC where they are already typed is not enough errors to work on!