I’m afraid not; there is no name server running on the hub, so it knows nothing of host names, and I don’t think the HTTP library would even accept them (although I don’t recall if I’ve even tried it or not).
Can’t you configure your router to assign your Pi a static IP address?