When it comes to performing any actions, it may be interesting to think about who the doer is. The nature of consciousness is something which is not well understood.
If one understands it to be independent of the body because the same self exists during sleep, waking and dream states, the body cannot be said to be the doer.
This is the idea behind Krishna’s counsel regarding action:
karmaṇyakarma yaḥ paśhyed akarmaṇi cha karma yaḥ
sa buddhimān manuṣhyeṣhu sa yuktaḥ kṛitsna-karma-kṛit
This can be roughly translated as:
Those who see action in inaction and inaction in action are truly wise amongst humans. Although performing all kinds of actions, they are yogis and masters of all their actions.
– Bhagavad Gita, 4.18