Apologies in delayed response on this.
Yes, this can be done. For your requirement you will have to try the node label. Generally nodes in a node pool will have a common node label. If you apply that to the deployment yaml, then the containers will be placed on that node pool.
Please check this document on the Setting nodepool taints.
Hope this helps.
Please 'Accept as answer' if it helped, so that it can help others in the community looking for help on similar topics.