using the Plots package.
I looked here: Cannot change colorbar position, which does suggest that
heatmap(rand(5,5); cb=:top)
should work, however, it does not. Might be that it requires the pgfplot backend, but seems like osmething that might be possible using the default one?