Yes!
In my personal experience, we have chosen to serialize the Java objects as JSON and store that in Redis. And then, to read the value from Redis and deserialize a Java object from it.
In theory, it would be very possible to store the object itself, using Java serialization. But we avoid this approach as we have other applications in other languages (Python, Go) also reading from this cache.