you’re on the right track, dude. The enemies can in fact trigger the exit, but the “puzzle” development side did not get far enough along for this to be used as a solution element.
Procedural generation is a key element for 7 Day Roguelike entries, but prebuilt levels or rooms (and some additional items / abilities) will definitely use mechanics like that in the future!