Of course you can do this in Haskell:
http://www.haskell.org/ghc/docs/7.6.2/html/libraries/base/Un...
http://www.haskell.org/ghc/docs/7.6.2/html/libraries/base/Un...
As the word "unsafe" implies, these Haskell primitives forego type safety in addition to type correctness. That means you can get segfaults and other undefined behavior at runtime. Such a type error on the JVM will simply produce an exception at runtime.
It almost never comes up because it turns out to be virtually useless, but that's a story for another time.
That's debatable, however Data.Dynamic is built on top of Data.Typeable, which provides a lower level runtime type safety facility. I think we can both agree Typable has lots of interesting uses.