Can we restart terminal or open a new terminal in the same job?

I have a requirement to install nvm on macOS(m1) saas runner. This runner comes with node 18 installed. But our project requirement is node version 14 ,

for switching the node version from 18 to 14, I added installation of NVM (node version manager).

Nvm install get successful . But then to use that installed nvm , I need to restart the terminal .

Is it possible to restart the terminal in same job and run next commands?

I will be appreciative for your response on this.