It could, but at the moment it puts a garbage collector in there, though there are modes where you can turn that off. I haven't used Nim in a while so I don't know what the implications of disabling GC are at the moment.
Even if you do use the GC, the compiler elides GC work if the type doesn't escape the scope.