Is that some kind of joke?
Yes you can, unless you want to support very old browsers [0] which would defeat the whole purpose of using SSL/TLS in the first place.
Maybe have a look at Mozilla Security/Server Side TLS [1]
Also SSL certs are issued for FQDN, not IP addresses (unless the IP is public and owned but still it is considered deprecated now [2]).
[0]: https://blogs.msdn.microsoft.com/ieinternals/2009/12/07/unde...