Are you talking about the case of blocking the apps if there is only cellular available, so they can only work over WiFi?
I agree with @alemabrahao , this would be an MDM function, if available.
Some phones have the concept of a "data saver" function. So you might be able to configure this per phone, by getting the user's phone and configuring it, but you won't be able to automate this without an MDM.