Yes, you can substitute rum with a different type of alcohol like brandy, whiskey, or bourbon. However, keep in mind that it will taste different than a rum cake.