You can use nim for those use cases without any issue and it is really a joy to use for that.
In my opinion, there's only two downsides to not approach those themes with C at least once: * You don't really get how ergonomic some of the features in nim are * You have less material/search engine help So essentially, you can do anything with nim, there's many of us doing firmware on microcontrollers in it and it is a blast, good luck!