The next question is : what options are available ? If you want 2D you have a lot of option: Nico, NimGame2 (seems stalled) and Norx (1:1 port from Orx C lib). For learning, i would use Nico, which has been written entirely with Nim, and which is used by its author: <https://github.com/ftsf/nico>
If you wand 3D, you will have to either use Godot wrapper, or do it with SDL yourself. For sure, Nim can do games. Hey, even Python can do it. But do you want to do games with Nim ? To have the answer, i suggest you try Nim first by reading the tutorial on the main site.