You won't be able to route between two environments without additional provisions if the IP address spaces overlap. There are workarounds, such as https://learn.microsoft.com/en-us/windows-server/manage/windows-admin-center/azure/azure-extended-network but they are not meant to be used on a larger scale, but as exceptions only.
If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.
hth
Marcin