Learning an actual machine language is definitely harder, all of these games use extremely limited instruction sets and/or simplified operating conditions.
As for more beneficial, I'm sure learning a real practical machine language is more beneficial. However you can definitely draw some of the same lessons out of these games and depending on you, might have a lot more fun and chances of actually going through with playing these games.