In Mendix you can always call Java code to do stuff (so no python etc). But that Java code probably needs some parameters or object to work with. See the documentation here: https://docs.mendix.com/refguide/java-action-call/
So in Mendix you would still need to create a domain model and pages to enter in those parameters.
But I do wonder what you are trying to achieve here and where you want to use Mendix for.
Regards,
Ronald