The basic answer is that you can only modify with curves (do not use levels) If and only if you do have the primary color component on the mix, and you can only shift the colors to some degree.
You can not in this case:
Here is an example image with some clear colors.
I separated the channels and you can see for example that I only have information on the green background in the green channel. I have Zero info on the Red or Blue one. (A)
Remember your color wheel, where yellow has Red and Green components. I can move and move the red channel and nothing will happen. I can not turn that into yellow.
You can if you had aditional info
So in this case I replaced "the non info zone" with the info on the green channel. You can do this with the channel mixer: https://graphicdesign.stackexchange.com/questions/17062/how-can-i-easily-swap-colors-swap-channels-in-photoshop
Now you can remove a bit the greenish cast on that yellow simply moving in diferent ratio the red and green curves. (with the proper masking so you do not afect other areas)
It is easy to change colors simply moving curves if you have the component
orange skin tone to pink
Add more red or remove the green and in less proportion the blue
green leaves to yellow
You can not directly as the previous example.
blue sky to cyan
Add more green
black road to violet/dark blue
Simply add more blue with a bit of red.
There are bettter methods
Curves is not the best way to do that.
You could on the other hand mask zones and change a Hue slider.