Is it possible to customize meta query in this way?

Is it possible to customize meta query in this way?