Just because a guy won't get compensation for a pawn in an opening is no reason for a beginner not to play it. Not like beginners will win a lot of games anyway.
At least Latvian Gambit, Albin Counter Gambit, King's Gambit, etc. lead to exciting play. Beginners can learn how to maintain an attack, and how to fight being a pawn down. These are learning experiences, which is precisely what a beginner needs.

Hmm...perhaps I need to learn how to respond to 1. d4 c5? Is that even an opening line?
I found many games in the database with 1. d4 c5: The Benoni Gambit Accepted. Here is a recent one by the most famous chess player.
Actually, you have a game by a Kasparov that is rather unknown thanks to the fact that he shares the same same surname as the former World Champion Gari.