Installing HASSIO so is accessible from a different port (https://mydomain.duckdns.org:8123), possible?

Is it possible to access from abroad as
https://mydomain.duckdns.org:8123 (specifying the port)

and then in the router forward port 8123 to port 443 of the VM holding HASSIO?

What would I need to put in configuration to make it work?

p.s. Why I need this? Because I am trying to setup more then one server/software, and they all require port 443 to be forwarded in order to work well. On the other I am not able to fix it, so I was thinking of changing HASSIO installation (at the moment is the server/software to which I forward port 443, and I access it succesfuully from https://mydomain-hassio.duckdns.org)

I think it would be better to have a reverse proxy like NGINX or Caddy that does the routing to the the correct host depending on which subdomain you used.
E.g.
https://hass.mydomain.myddnsprovider.com -> routes to Home Assistant VM on port 8123
https://grafana.mydomain.myddnsprovider.com -> routes to Grafana VM on port 3000
etc.

I tried this, but the server/software script usually do not work (because they install nginx and letsencrypt themself, and to fix that is very very complicated)

What other server/software do you run?

Jitsi-meet I wish to fix