After all, I have made it working as @chepner suggested.
My command look like this now
ssh [email protected] -p 22 'bash -l /home/user/services.sh'
And I've added the following line to my ~/.bash_profile
export PATH="/home/ubuntu/.nvm/versions/node/v18.19.0/bin/:$PATH"