Several depencies with 'either...or' condition in manifest.php?

Is it possible to declare several package dependencies in manifest.php file with the following “either…or” rule : it’s dependent either to this package with id_name1/version1 or to this other package with id_name2/version2 ?
Thanks for your answer.

What are you trying to filter and why?

Are you making a package depending on a version of a package already installed? Can you give me more context?