Webhook server on a LAN?

It appears that a domain name and ssl cert is required for a server to act as a webhook. Can the certificate be self-signed? Can a local dns server be used?
Example- If I have a LAMP server, also running a dns server to provide domain names on my LAN and SSL certs are self-signed, would this be able to act as a location for a webhook?