is there a way to disable mems management programmatically
You could disable the TImer2 interrupt, but it would also disable the I2C1 access for the audio chip configuration.
Is it possible to disable programmatically mems, touchscreen/buttons and joystick
You could redirecct the handlers to your application (UTIL_SetSchHandler)