Grant badges based on gender profile field?

Hello! On my forum, I have two specific badges, King and Queen. Is it possible to grant the right badge based on which option the user has chosen from the gender dropdown profile field?

I have two badges, King and Queen for the same query “Received 5 likes on 300 posts”.
If user X is a woman and completed that query, it would be great to receive only the Queen badge, and if it’s a man to receive the King badge only.

Any help is appreciated, and if it can’t be done maybe consider including such a feature? That would be awesome. Thank you!

You can use Triggered custom badge queries to query for the likes and for the custom user field where you store the user gender.