Yes, you can use frozen cherries to make a compote for the black forest cake. Make sure to thaw the cherries and drain any excess water before using them.