Greetings,
You cannot deploy any other resources other than virtual network gateway in the gateway subnet.The gateway subnet contains the IP addresses that the virtual network gateway services use.
Please do not forget to "Accept the answer" wherever the information provided helps you to help others in the community.