This is possible. How this would be done depends - as already mentioned - on your application.
You need to provide more information.
We are not here to guess your thoughts! Noone is. If you want to communicate, you need to talk!
If you think you can not share your secret application for security reasons or privacy reasons, than you should not use a public forum at all.
It might be a good idea to read this: https://www.privacyidea.org/getting-help/
Noone can tell you how you can configure different 2FA policies, if you do not tell, what application or mechanism you are actually using. Are you doing basic authentication? Which browser, which module?Are you doing 2FA in your application? Which application?
The more information you provide, the more likely it is to get an answer. People will not help, if it is to complicated to help. If I get the impression, the guy who wants help, does not put any effort in asking, then the helper will obviously get tired. I am.
Have you read this? This is a must! Is privacyIDEA an open source or a commercial solution