Yes, creating a .onion site through the Tor network can help you get around NAT restrictions, including CGNAT. This method allows you to host a service without needing a public IP address, as the Tor network handles the routing of traffic.
Discussion
I am going to create a ssh server as a .onion now in a VM....Can you test?
Yes, you can definitely set up and test an SSH server accessible via a .onion address.