As my understanding of your question. You want to implement some ML algorithms for VM consolidation or Scheduling.
1- As CloudSim is just a java based simulator. you can use WEKA java libraries for run some ML algorithms.
For example:
You can implement multiple scheduling algorithms instead of single scheduling algorithm. By using ML classification you can select efficient scheduling algorithm according to extracted training data from VMs. This data are given as input to the ML algorithm, as result give you classification rules which is select efficient scheduling algorithm to execute task.For implementation you can use CloudSim and WEKA for testing data-set.
If you mean a real installation, no that is not possible.
However, if you want to model their execution, it might be possible; of course, with a level of abstraction that causes loss of details which in turn will lead to inaccuracy.