I think this will be an extension to Android Advanced Protection Mode (no separate toggle for each settings). Maybe now their target is frontend apps for youtube and other services since they already have upper hand against mod apps and games.
If Google placed these kind of actions on third party app stores it is acceptable to a certain level. Also, third party app stores do their best to prevent malware apps listed in their store. There are cases where the apps get delisted from play store too after its found to be malware.