Cold foam was created to top cold brew and other iced coffees, but there's no rules saying you can't use it to top a hot drink. It will melt into a hot coffee quickly, so keep that in mind.