Partially, yes. Ethics is the third part of philosophy. I am sure you already know this, but just for the sake of others:
- Metaphysics - what exists?
- Epistemology - how do we know it?
And finally:
- Ethics - so how should we behave?
So based upon what you think exists, and what your desires are, and how should you go about fulfilling your desires - you will arrive at different ethical systems.
That might take a long time. But the basics are simple. Live and let live. Respect others. Do not hurt others. Balance your own needs with the needs of others. Accept that no one is an island unto himself.
Also the realization that resources are not “abundant”, and as such sharing those resources is part of the equation. So the question is very complex.
Of course all that comes from our biological bodies and needs, since we are
both individuals and herd animals. For a race of intelligent predators (for example sharks) there would be no need for cooperation. For a race of intelligent herbivores cooperation would be of paramount importance. For a race of intelligent “trees” the whole question would be irrelevant, since their sustenance is based upon sunlight, which is available in abundance. For a race of intelligent “rocks” there is no problem at all. Their existence does not require external resources.
This is presented as a short summary. You are welcome to criticize it, or amend it.