Not right now. But you can try to reimplement function hash_t memhash(const void *ptr, size_t count) as constexpr.
If you do that it will be possible to call it at compile time.
NOTE: String is not using (only) memhash, so the value would not be the same.