I'm fairly sure that feature already exists. On Amazon tablets (and phone) it's called Free Time or child profiles. I'm confident there's an Android equivalent. If not, on a rooted Android phone you could just run your own shell script which could periodically check running or installed apps, and close or uninstall undesirables.