Inverse design of environment-induced coherence