The direct influence of Twin Peaks on Zelda
theverge.com
theverge.com
You'd rather start here https://www.romhacking.net/games/884/ and read a romhacking guide. The asset editors and utilities might be enough. More advanced stuff by some asm hacking which may come in form of preexisting patches. Usually it requires understanding only a portion of game's architecture and memory layout.
If you're really keen to start such a project, as I would be keen on playing it, you're likely to spend entire first phase development in level editor getting the sprites and maps right.
this is pretty much the defacto guide for twin peaks watching (not including season 3). Personally, I think the season 2 episodes marked in red still have some great stuff in there, but it can be a bit of a slog to get through.