Absolutely but again I have no proof
Well it's well known that mitochondria play an important role in programmed cell death, where cells that are acting abnormally are killed. This prevents abnormal cells from harming the plant or interfering with growth and reproduction. it's not a stretch to imagine that they are integral to the ripening process as well.
Because ripening is a form of cell death.
Also, the presence of cannabinoid receptors on the membranes of mitochondria, the energy-generating organelle within cells. This discovery laid the groundwork for subsequent investigations into the role of the endocannabinoid system in regulating mitochondrial activity, which is critical to how cells function. Defects in mitochondria have been linked a wide range of neurodegenerative, autoimmune and metabolic disorders—Alzheimer’s, schizophrenia, autism, cancer, epilepsy, diabetes, cardiovascular and neuromuscular disease, and more.
A growing body of scientific data indicates that cannabidiol (CBD) and tetrahydrocannabinol (THC), two key components of the cannabis plant, can affect mitochondria, both directly and indirectly. It turns out that many of the biological pathways that involve mitochondria—including energy homeostasis, neurotransmitter release, and oxidative stress—are modulated by endogenous and exogenous cannabinoids.
Why does a small dose of cannabis stimulate while a large dose tends to sedate? How is it possible that cannabinoid compounds can destroy cancer cells while leaving healthy cells unscathed? Examining the role of mitochondria sheds light on these questions and other perplexing aspects of the endocannabinoid system.
So leads me to believe this is were the "critical" activity in ripening is likely also occuring, as plant "energy output" and THC production appear directly linked to one another.
I don't know the exact chemical mechanism for THC production, but it's got to be linked closely with ATP