Pretty sure it will work, but why waste such expensive hardware when an RPi can do the same job for a lot less money?
Of course, if you're wanting to run spaghetti monster while printing, what would work. You'd have to run it in trained mode unless you're willing to let the Nano work for weeks/months(?) during the training sessions...
I've thought about it a few times.