Would it be possible to create such a deployment that can create let's say half of the pods with some environment variables and the rest with different environment variables. If possible, is this approach assumed to be best practice?
Like Christ Bolton suggested in comments, dividing single deployment into multiple set of deployments and services would be the simplest solution. In each deployment You can have different environment variables.
Hope it helps.