Full Caddyfile for home server

It is possible, you just need to update your hosts file on your machine, or run a local DNS server (like CoreDNS) which will resolve those names to your Pi’s LAN IP.

For some of these services, you may be running into this, because of using a subpath rather than a subdomain:

You may also find some useful information here:

Could you be more specific about what’s not working? What are the symptoms? What’s in your logs? What happens if you use curl -v to make a request (to see the HTTP headers and such)?