is it possible to change the ui url from
Yes, but not from Node-RED. You need a reverse proxy for that. Something like NGINX, Caddy, etc.
Well, strictly speaking, it IS possible from Node-RED by changing Node-RED's PORT setting to
443 (if using TLS) but this is a really bad idea since it would stop you running any other web service on the server.