Heltalia is NOT a history lesson. It has historical references, so it's funnier if you know history, but it by no means teaches history. It's historilcally accurate in the sense that WW2 really happened, but it is not in any way an accurate representation of WW2.
This anime is essentially...
In a time filled with wars, environmental concerns and issues, there lives a gaggle of beautiful boys that are the personification of the world's countries. Japan, England, France, Finland, Germany...