I'm sorry, are you from the past?
Yes, you can download classic Nintendo games. As well as a few others. There is an entire sub-forum devoted to this. It's called Virtual Console.
Even the 101 most commonly asked questions has info about this, even though it's quite old now. But the Virtual Console hasn't really changed.
Do a search next time you have a question to ask.