Yes, this totally works in the crockpot! Cook on low for 4 hours or high for 2 hours.  Pro tip: Condensation can form on the lid of the crock pot and then drop onto the cake, so I recommend placing a few layers of paper towels just under the lid to absorb that additional liquid.