> Could it be that this organism switches to anaerobic respiration when it finds itself inside cancer tissue
Unlikely. The leading hypothesis is that mitochondria are a part of the apoptosis cycle, so cells need to disable them to become cancerous. This is called the Warburg effect.
There are several drugs that target this mechanism, inhibiting the anaerobic metabolism. They are effective initially, but cancers always find ways to work around them.