Sort of!
Some rice cookers come with a slow cooker option and can easily double as both. The Zojirushi and the Cuckoo both can double as slow cookers. You can also use it to warm dishes like soup or baked beans. Some users have even made cakes in the Zojirushi.
The Hamilton is intended only for rice.
It’s important to make sure you clean out the rice cooker when after every use, but make sure to clean it out especially well after using it for anything other than rice. If you don’t it could lead to funny tasting rice and ruined dinners.