Interesting... but really it's not about how someone planned that... but how the game could have gotten to that position in the first place. I just want to look back 1 move. What was black's last move? First off, if black were not in check the last move, he could have checkmated white no matter what. Look at the knights and the pawn... if any of them were moved from their current position by one move, black can checkmate with Rg1#. The rooks (if you examine them as well) could also delive mate in 1 in all positions except if there was a rook on b2 (which is mate in 2 after Ra2+ followed by Rg1#). Now consider the king: he must have been in check to prevent black from delivering mate with the rooks. Only 2 locations are possible: h7 or g7. Being checked at either location, he could move to g6 and white doesn't have a decisive attack.

After all that: black clearly blundered on his last move to allow white this awesome attack.

One possibility for example, say white played the knight from b4 to d5 attacking black's rook on c3 while also setting up the mating net. Let's say that black did not see the white mating net, moved from c3, and took a white pawn on c2. We would then arrive at the puzzle position. Black would then be threatening checkmate for the first time, only to be beaten to it by white.

I would definitely agree that whatever black's last move was it was a game losing blunder.