If they're small, probably. If you start to see cracks on the lower one, or if the upper one keeps sliding off and dashing to the floor, may be worth considering separating them.
I've a 'tabletop' fridge on top of a normal freezer, and that's been ok. (Might be worth checking the Net for stacking kits if worried about the weight, or movement. Or consider building a frame yourself.)