kodra
Do you mean we can write python directly in APEX graph? Or you mean a Python SOP just before APEX invoke?
In Python SOP or PrimWrangle if you want to modify them using VEX
Since you would be introducing external dependency in CHOP graph, you don't want that to happen during APEX evaluation as the chop graph may not even be available during the evaluation
Therefore if you sample CHOPs to create or modify channel prims its better to inject them back to the character as channel prims with already modified values
As long as you are in the same scene the chop link will still be live though so will be similar to motion FX even though not in the same APEX animate as the channels it's applied to
You can of course build APEX graph which will modify or create channel prims on the fly during the APEX evaluation, that'd be more like rebuilding chop operators, which for certain types of motion FX should be trivial